Which switches to use for ROBOCOPY

robocopy "\\uncpath\to the SOURCE folder you want to copy" "C:\local path\to the DESTINATION folder" /e /r:10 /COPY:DATSOU /LOG:C:\copy_result_log_file.txt



Copies subdirectories. Note that this option includes empty directories.


Specifies the number of retries on failed copies.


Specifies the file properties to be copied. The following are the valid values for this option:
D Data
A Attributes
T Time stamps
S NTFS access control list (ACL)
O Owner information
U Auditing information
The default value for CopyFlags is DAT (data, attributes, and time stamps).


Writes the status output to the log file (overwrites the existing log file).


Add comment