Skip to content

Commit c595c30

Browse files
committed
Excluding disk recovery directories and also disabling output of progress percentages in logs
1 parent 201fcdf commit c595c30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plex-drive-mirror.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ EXIT /B %ERRORLEVEL%
1818
:: (arguments: Name, SourceDirectory, DestinationDirectory)
1919
:SYNC_DRIVE
2020
@ECHO Starting sync for %~1 (%date% %time%)... >> C:\plex_sync_logs\%~1%-log.txt
21-
ROBOCOPY %~2 %~3 /MIR /XJD /MT:4 /R:10 /W:60 /XA:SHT /log+:C:\plex_sync_logs\%~1%-log.txt /XD _temp* $* "System Volume Information*" /XF *.dat *.sys *.db *.log
21+
ROBOCOPY %~2 %~3 /MIR /XJD /MT:4 /R:10 /W:60 /XA:SHT /NP /log+:C:\plex_sync_logs\%~1%-log.txt /XD _temp* $* Recovery "System Volume Information*" /XF *.dat *.sys *.db *.log
2222
EXIT /B 0

0 commit comments

Comments
 (0)