Robocopy、xCopy 或其他解决方案?

发布于 2024-10-08 06:53:06 字数 1559 浏览 0 评论 0 原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

余罪 2024-10-15 06:53:06

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.

护你周全 2024-10-15 06:53:06

您可以使用 DeltaCopy。这是 rsync 工具的开源 GUI Windows 版本。它的一些功能是

  • 增量备份 - 复制实际修改的文件的一部分(从而节省时间和网络资源)。
  • 任务计划程序 - DeltaCopy 中的配置文件可以根据计划运行。
  • Windows 友好的环境。
  • 复杂的忽略模式(按名称、扩展名、大小、路径或其他条件过滤文件)。

You could use DeltaCopy. This is a open-source, GUI windows version of the rsync tool. Some of its features are

  • Incremental backup - Copies part of the file that is actually modified (so saving time and network resources).
  • Task scheduler - Profiles in DeltaCopy can run based on a schedule.
  • Windows friendly environment.
  • Complex Ignore patterns (filter files by name, extension, size, path or other criteria).
梦境 2024-10-15 06:53:06

您可以像这样使用 ROBOCOPY

robocopy E:\Source G:\Destination\SubFolder /e /mir /np /log:backup_log.txt

来获取更多信息

you can use ROBOCOPY like that

robocopy E:\Source G:\Destination\SubFolder /e /mir /np /log:backup_log.txt

for more info

心头的小情儿 2024-10-15 06:53:06

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文