robocopy Command Examples

Robust File and Folder Copy. By default files will only be copied if the source and destination have different time stamps or different file sizes. More information: https://learn.microsoft.com/windows-server/administration/windows-commands/robocopy.

robocopy {{path\to\source_directory}} {{path\to\destination_directory}} {{*.jpg}} {{*.bmp}}

robocopy {{path\to\source_directory}} {{path\to\destination_directory}} /E

robocopy {{path\to\source_directory}} {{path\to\destination_directory}} /MIR /COPYALL

robocopy {{path\to\source_directory}} {{path\to\destination_directory}} /E /XO

robocopy {{path\to\source_directory}} {{path\to\destination_directory}} /MIN:{{52428800}} /L

robocopy {{path\to\source_directory}} {{path\to\destination_directory}} /Z /R:5 /W:15

robocopy /?