type
status
date
slug
summary
tags
category
icon
password
Property
May 17, 2024 02:18 AM
windows下的多线程拷贝工具, 对标rsync
常用:
参数:
/e Copies subdirectories. This option automatically includes empty directories./z Copies files in restartable mode. In restartable mode, should a file copy be interrupted, Robocopy can pick up where it left off rather than re-copying the entire file./MT[:n] Creates multi-threaded copies with n threads. n must be an integer between 1 and 128. The default value for n is 8. For better performance, redirect your output using /log option.
Caution: 如果src_path只是文件夹, 则robocopy只会复制该文件夹中的内容到dst_path, 而不为将这个文件夹复制到dst_path (即使添加了
\)因此需要在dst_path后手动追加对应的文件夹名称, Eg:
src_path:
G:\mymusic | dst_path: H:\data