text
stringlengths
0
4.23k
Specifies that file names are not to be logged.
/ndl
Specifies that directory names are not to be logged.
/np
Specifies that the progress of the copying operation (the number of files or directories copied so far) won't be displayed.
/eta
Shows the estimated time of arrival (ETA) of the copied files.
/log:<logfile>
Writes the status output to the log file (overwrites the existing log file).
/log+:<logfile>
Writes the status output to the log file (appends the output to the existing log file).
/unilog:<logfile>
Writes the status output to the log file as unicode text (overwrites the existing log file).
/unilog+:<logfile>
Writes the status output to the log file as Unicode text (appends the output to the existing log file).
/tee
Writes the status output to the console window, and to the log file.
/njh
Specifies that there's no job header.
/njs
Specifies that there's no job summary.
/unicode
Displays the status output as unicode text.
<logfile>
<logfile>
<logfile>
<logfile>
Job options
Option
Description
/job:<jobname>
Specifies that parameters are to be derived from the named job file. To run /job:jobname, you must first run the /save:jobname parameter to create the job file.
/save:<jobname>
Specifies that parameters are to be saved to the named job file. This must be ran before running /job:jobname. All copy, retry, and logging options must be specified before this parameter.
/quit
Quits after processing command line (to view parameters).
/nosd
Indicates that no source directory is specified.
/nodd
Indicates that no destination directory is specified.
/if
Includes the specified files.
<jobname>
/job:jobname
/save:jobname
<jobname>
/job:jobname
Remarks
Using /PURGE or /MIR on the root directory of the volume formerly caused robocopy to apply the requested operation on files inside the System Volume Information directory as well. This is no longer the case as if either is specified, robocopy will skip any files or directories with that name in the top-level source and destination directories of the copy session.
Modified files classification applies only when both source and destination filesystems support change timestamps, such as NTFS, and the source and destination files have different change times but are otherwise the same. These files aren't copied by default. Specify /IM to include them.
The /DCOPY:E flag requests that extended attribute copying should be attempted for directories. Robocopy will continue if a directory's EAs couldn't be copied. This flag isn't included in /COPYALL.
If either /IoMaxSize or /IoRate are specified, robocopy will enable copy file throttling to reduce system load. Both may be adjusted to optimal values and copy parameters, but the system and robocopy are allowed to adjust them to allowed values as necessary.
If /Threshold is used, it specifies a minimum file size for engaging throttling. Files below that size won't be throttled. Values for all three parameters may be followed by an optional suffix character such as [KMG] (kilo, mega, giga).
Using /LFSM requests robocopy to operate in 'low free space mode'. In this mode, robocopy will pause whenever a file copy would cause the destination volume's free space to go below a 'floor' value. This value can be explicitly specified using /LFSM:n[KMG] flag.
If /LFSM is specified with no explicit floor value, the floor is set to 10% of the destination volume's size. Low free space mode is incompatible with /MT and /EFSRAW.
Exit (return) codes
Value
Description