robocopy will definitely help you out. While it doesn't sound like you can straight merge the source and destination outright (source sounds flat while the destination has some hierarchy), it has commands for copying entire folders and not copying if destination files aren't there.
Robocopy supports many options. e.g. File C would be a 'new file' (using words that the robocopy help uses). Robocopy option /xl will exclude new files to be copied.
If you need to copy each file to its own destanation, there is no difference in using Robocopy, XCopy or the copy command of cmd.exe.
发布评论
评论(4)
robocopy 一定会帮助你。虽然听起来您不能直接合并源和目标(源听起来很平淡,而目标有一些层次结构),但它具有用于复制整个文件夹的命令,并且如果目标文件不存在则不复制。
robocopy will definitely help you out. While it doesn't sound like you can straight merge the source and destination outright (source sounds flat while the destination has some hierarchy), it has commands for copying entire folders and not copying if destination files aren't there.
您可以使用 DeltaCopy。这是 rsync 工具的开源 GUI Windows 版本。它的一些功能是
You could use DeltaCopy. This is a open-source, GUI windows version of the rsync tool. Some of its features are
您可以像这样使用 ROBOCOPY
来获取更多信息
you can use ROBOCOPY like that
for more info
Robocopy 支持多种选项。例如,文件 C 将是一个“新文件”(使用 robocopy 帮助使用的单词)。 Robocopy 选项 /xl 将排除要复制的新文件。
如果您需要将每个文件复制到其自己的目标,使用 Robocopy、XCopy 或 cmd.exe 的复制命令没有区别。
我发现的关于 Robocopy 的最佳文档是:
http://theether.net/download/Microsoft/Utilities/robocopy.pdf
感谢在 user54512 -does-robocopy-define-if-a-file-is-changed">关于 Robocopy 的问题
Robocopy supports many options. e.g. File C would be a 'new file' (using words that the robocopy help uses). Robocopy option /xl will exclude new files to be copied.
If you need to copy each file to its own destanation, there is no difference in using Robocopy, XCopy or the copy command of cmd.exe.
The best documentation on Robocopy I have found is:
http://theether.net/download/Microsoft/Utilities/robocopy.pdf
Thank user54512 who posted the link in a question on Robocopy