Robocopy

Command format and option definitions

robocopy <src> <dest> /mir /r:1 /w:1 /sec /b

Options

Option

Description

/mir

Mirrors a directory tree

/r:<N>

Specifies number of retries on failed copies

/w:<N>

Specifies the wait time between retires in seconds

/sec

Copies files with security

/b

Copies files in Backup mode

/xd <Directory>

Excludes directories that match the specified names and paths

Last updated