Skip to main content

RoboCopy

If you are familiar with rsync on Linux, you will appreciate this Windows command line tool - robocopy.

Robocopy stands for “Robust File Copy.” It is a built-in Windows utility tool for transfering files from one location to another. 

Screenshot_2023-11-23_010047.png

Robocopy Syntax and Flags

The basic syntax for robocopy is as follow:

robocopy SOURCE DESTINATION

There are also some flags you can use to fine tune the file transfer.

Below is what I personally use for my robocopy transfers:

robocopy SOURCE DESTINATION /E /DCOPY:DAT /R:4 /W:10 /LOG:C:\temp\robocopylog.txt