简体   繁体   English

Robocopy 不使用完整的复制命令复制驱动器文件夹

[英]Robocopy not copying drive folders with a complete copy command

I'm trying to copy a hard drive with hundreds of folders at the root to another disk.我正在尝试将根目录下具有数百个文件夹的硬盘复制到另一个磁盘。

Here's my command currently:这是我目前的命令:

robocopy H:\ I:\ /S /NFL /R:1 /W:60 /xd "H:\$RECYCLE.BIN\*" /LOG:"XXXX.txt"

All this does is put the files at the root of H: and place them on I:.所有这一切都是将文件放在 H: 的根目录下,并将它们放在 I: 上。 It does not copy any of the folders.它不会复制任何文件夹。

Any ideas would be greatly appreciated.任何想法将不胜感激。

I use this for copying folder structures.我用它来复制文件夹结构。 The first time may take awhile.第一次可能需要一段时间。 From then on it is more of an incremental backup.从那时起,它更像是增量备份。

XCOPY /Y /I /E /R D C:\ H:\backup

This doesn't make the destination drive bootable.这不会使目标驱动器可引导。 It does copy the files.它确实复制文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM