Wednesday, November 11, 2009

(File Server Migration) Using robocopy for file copy and synchronize

Robocopy.exe C:\folder1 D:\folder2 /e /copyall /w:1 /r:1


 


The “/e” specifies to copy everything, including subfolders.  The “/copyall” switch specifies to copy security and file attributes.  The “/w:1” switch specifies to wait 1 second before retrying a file if access denied.  The “/r:1” switch specifies to retry a failed file 1 time before moving on. 

Print Friendly and PDF
Share/Bookmark

No comments:

Post a Comment