码迷,mamicode.com
首页 > 其他好文 > 详细

multi-threaded copy command - robocopy

时间:2015-11-25 13:24:37      阅读:172      评论:0      收藏:0      [点我收藏+]

标签:

we can copy files by the powerful robocopy tool, and it allow copy using muliti-threaded as well.

 

As Robocopy is generally a command-line only utility (although a GUI add-on is available for Robocopy), the new multi-threaded operation capability has to be called via a new switch supported by Robocopy. The new multi-threaded copy feature can be enabled and turned on with the following parameter:

/MT[:n]
Where n will instruct Robocopy to do multi-threaded copies with n threads (default 8). The value of n must be at least 1 and not greater than 128 (between 1 to 128), with 1 as single thread. In fact, Robocopy will copy files and folders in multi-threaded operation by default, with 8 threads in one go. Note that /MT[:n] switch is not compatible with the /IPG and /EFSRAW operations.

For example,
Robocopy C:\Folder1 C:\Folder2 /MT:32

 

Reference: http://social.technet.microsoft.com/wiki/contents/articles/1073.robocopy-and-a-few-examples.aspx

https://technet.microsoft.com/en-us/library/cc733145.aspx

multi-threaded copy command - robocopy

标签:

原文地址:http://www.cnblogs.com/wushuaiyi/p/4994173.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!