Monday, November 12, 2012

Copy files between servers - Robocopy - Multithreaded option

Previously I have used XCOPY for copying huge files between two windows servers until I came across Robocopy's multithread option

Simplest form of robocopy with this option is below

robocopy source_folder destination_folder f* /MT /S /Z

where f* is all files starting with the letter f in the source_folder and /MT is the mulithreaded option.
Note that /MT automatically uses the total number of processors on the server you run the command.



No comments: