Skip to content

Instantly share code, notes, and snippets.

@Rican7
Last active March 15, 2024 00:12
Show Gist options
  • Save Rican7/56c310016725029d57c8fffcd63512a1 to your computer and use it in GitHub Desktop.
Save Rican7/56c310016725029d57c8fffcd63512a1 to your computer and use it in GitHub Desktop.
Windows built-in volume "clone"
robocopy <source> <destination> /E /COPYALL /DCOPY:DATE /SL /SJ /ZB /V
@Rican7
Copy link
Author

Rican7 commented Feb 3, 2024

Or "mirror" to an external, incompatible file system (like copying from a drive to an SD card):

robocopy <source> <destination> /MIR /Z /V

@Rican7
Copy link
Author

Rican7 commented Mar 15, 2024

(There's also a flag to enable multi-threaded transfers: /MT, which can also be given a number to indicate the number of threads: /MT:4)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment