Useful Robocopy switches for copying large amounts of file data

We have all had to move lots of data from one location to another at some time or another, some like me forget all the useful switches and have to keep looking them up on TechNet. I have included an example of a Robocopy I use most times when moving lots of data and explain the switches too

/s = Copies subdirectories. Note that this option excludes empty directories.

/copyall = Copies all file information (including Security information).

/r = Specifies the number of retries on failed copies. The default value is 1,000,000 (one million retries).

/w = Specifies the wait time between retries, in seconds. The default value is 30 (wait time 30 seconds).

/mt = Creates multi-threaded copies with N threads. N must be an integer between 1 and 128. The default value for N is 8.

/v = Produces verbose output, and shows all skipped files.

/np = Specifies that the progress of the copying operation (the number of files or directories copied so far) will not be displayed

/log = Writes the status output to the log file (overwrites the existing log file)

Leave a Reply

Your email address will not be published. Required fields are marked *