Make a copy of a whole directory, in restartable mode (incase something happens during copy) include all files and folders but don't copy any permissions.
robocopy
Useful Options.
/Z Restartable mode (good for network transfers etc, will continue when connection is re-established)
/E Copies ALL subdirectories, including empty ones
/R:1 Retry number of times - This is how many times a file copy should be retried before continuing
/PURGE Deletes any files/folders in the destination DIR that don't exist in the SOURCE. This is useful for backing up data etc.
/MOVE Deletes files and directories from the SOURCE once they are copied
/LOG+:
/COPYALL Copies all file info (date/time/attributes/ACLs)
No comments:
Post a Comment