用于复制大量文件的XCopy的替代方案?

Dan*_*mal 5 xcopy

情况:我有一台笔记本电脑.其中一件令人疲惫不堪的事情就是电池没电了,电源线很容易从后面拉出来.

我最近收到了一台非便携式笔记本电脑,我正在复制从旧到新的所有内容.我正在尝试从旧机器到外部硬盘驱动器xcopy c:*.*,但由于线缆频繁拉出,xcopy经常被中断.

我需要的是XCopy中的一个开关,它将复制除目标文件夹中已存在的文件之外的其他内容 - 与/ U开关的行为完全相反.

有谁知道这样做的方法?

Edw*_*lde 15

我发现RoboCopy是xcopy的一个很好的替代品.它更好地支持高延迟连接,并支持恢复副本.

参考

维基百科 - robocopy

下载

编辑 Robocopy是Windows Vista和Windows Server 2008的标准功能.


Fio*_*ala 6

/ D可能正是您要找的.我发现备份工作速度非常快,因为不会复制现有文件.

xcopy "O:\*.*" N:\Whatever /C /D /S /H 

/C Continues copying even if errors occur. 
/D:m-d-y Copies files changed on or after the specified date. 
    If no date is given, copies only those files whose source time 
    is newer than the destination time. 
/S Copies directories and subdirectories except empty ones. 
/H Copies hidden and system files also. 
Run Code Online (Sandbox Code Playgroud)

更多信息:http://www.computerhope.com/xcopyhlp.htm