Skip to content

Instantly share code, notes, and snippets.

@cbarraco
Last active May 31, 2024 22:27
Show Gist options
  • Save cbarraco/9102c7d3444e28e42d6b2703b3004f46 to your computer and use it in GitHub Desktop.
Save cbarraco/9102c7d3444e28e42d6b2703b3004f46 to your computer and use it in GitHub Desktop.
Robocopy mirror optimized for speed
# use /MT:1 when the files are big, otherwise if you cancel you'll have 128 big unfinished files instead of a few finished ones
Robocopy.exe /MIR /MT:128 /R:1 /W:1 /LOG:nul /NFL /NDL /NJH /NJS /nc /ns /np <SRC> <DEST>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment