创建的副本占用了过多的免费空间 space

Created copy taking too much free space

我发现在 PowerShell 中使用 robocopy 有问题。我使用此工具使用命令从一个磁盘(大约 220GB)备份文件:

robocopy $source $destination /s /mt:8

问题是创建的副本在目标位置占用了很多 space 的空闲空间(达到大约 850GB 时我停止了备份)。有谁知道为什么会这样?

可能涉及到一些循环。 robocopy

Ability to skip NTFS junction points which can cause copying failures because of infinite loops

尝试使用 /XJ 标志 运行 或简单地 list/log 复制哪些文件以检查循环

参见 robocopy helppost about it

UP遇到同样问题的朋友:

there were infinite loops which I found using WinDirStat. Mostly it were Application Data/Documments and Settings/Users folders