|
以前在跟员外做XP一键primo RAMOS的时候,研究过fastcopy,有处理硬链接的参数,不知道能否解决你所说的问题。
fastcopy /cmd=force_copy /speed=full /auto_close /error_stop=FALSE /log=FALSE /skip_empty_dir=FALSE /linkdest /exclude=hiberfil.sys;pagefile.sys;MSOCache\;"System Volume Information\" .\111 /to=.\test\
你看下fastcopy说明文件。目录链接和符号连接(Junction and SymLink)
Junction(include MountPoint) and Symlink is supported in ver1.70 or later.
Mode Details
Diff/Copy Copy Junction/Symlink itself.
If you want to change the copy Junction/Symlnk's target, it can be changed in the options settings
Move Always move Junction/Symlink itself.
Delete Always delete Junction/Symlink itself.
硬链接(HardLink)
HardLink can be reproduced as much as possible, if specified /linkdest option in ver1.95 or later.
(In running, "TotalFiles:" format changes "number_of_files (number_of_dirs)" to "number_of_files / number_of_created_hardlinks (number_of_dirs)").
Two very Important notes:
1. It needs 2-4MB per 10 thousand hardlink entity files. (It depends on path length)
2. It can decrease speed, because it opens not only copying files but also skip files.
If /linkdest option is enabled, /recreate option is enabled tacitly.
If you want always to enable /linkdest option, write [main] linkdest=1 in FastCopy2.ini file.
|
|