Created
January 14, 2019 06:42
-
-
Save geunho/3603d828b3db08ff0364eeef6dab1946 to your computer and use it in GitHub Desktop.
robocopy sync dir and output CUD list to file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM Sync destination dir to source dir | |
REM retry max 10 times wait 1 second every try | |
REM output created, updated, deleted file list to both stdout and rc-list.txt file | |
robocopy %src_path% %dest_path% /MIR /R:10 /W:1 /NJH /NJS /NC /NS /NDL /NP /TEE /LOG:rc-list.txt /XF *.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment