Copy from C:\Dir1 to D:\Dir2
robocopy C:\Dir1 D:\Dir2 /mir
よく使うオプション:
/mir : mirror
/Z : copy files in restartable mode
/B : copy in backup mode
/XD file [file] : exclude files. Ex: /XF *.log *.iso
/XF dirs [dirs] :exclude directories. Ex: /XD C:\windows D:\temp
/LOG:file : output status to LOG file (overwrite existing log)
/LOG+:file : output status to LOG file (append to existing log)
/NP : no progress
/NDL : no directory list - don't log directory names
/R:n : number of retries on failed copies (default 1 mils)
/W:n wait time between retries (default 30s)
/TEE: output status to console window as well as the log file
Thursday, February 20, 2014
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment