Windows 10 robocopy similar to linux rsync
From Notes_Wiki
Home > Windows > Windows Desktop Tools or Utilities > Windows 10 robocopy similar to linux rsync
Use command:
robocopy z:\ Y:\ /s /e /purge /mt:16 /DCOPY:DAT /nfl /ndl /np /LOG+:robocopy.log
where
- Z
- \ : Source
- Y
- \ : Destination
- /s
- Copy sub-directories
- /e
- Copy empty sub-directories also
- /purge
- *Careful* - Delete files on destination not present on source
- /mt
- 16 : Sixteen parallel threads (default:8, max:128)
- /DCOPY
- DAT : Copy directory, data, attributes and timestamps
- /NFL
- No file list
- /NDL
- No directory list
- /np
- No progress
- /LOG+:robocopy.log
- Append logs to robocopy.log file in local folder
Use:
robocopy /?
for additional help.
Refer:
Home > Windows > Windows Desktop Tools or Utilities > Windows 10 robocopy similar to linux rsync