text
stringlengths
0
4.23k
Deletes destination files and directories that no longer exist in the source. Using this option with the /e option and a destination directory, allows the destination directory security settings to not be overwritten.
/mir
Mirrors a directory tree (equivalent to /e plus /purge). Using this option with the /e option and a destination directory, overwrites the destination directory security settings.
/mov
Moves files, and deletes them from the source after they're copied.
/move
Moves files and directories, and deletes them from the source after they're copied.
/a+:[RASHCNET]
Adds the specified attributes to copied files. The valid values for this option are: R - Read onlyA - ArchiveS - SystemH - HiddenC - CompressedN - Not content indexedE - EncryptedT - Temporary
/a-:[RASHCNETO]
Removes the specified attributes from copied files. The valid values for this option are: R - Read onlyA - ArchiveS - SystemH - HiddenC - CompressedN - Not content indexedE - EncryptedT - TemporaryO - Offline
/create
Creates a directory tree and zero-length files only.
/fat
Creates destination files by using 8.3 character-length FAT file names only.
/256
Turns off support for paths longer than 256 characters.
/mon:<n>
Monitors the source and runs again when more than n changes are detected.
/mot:<m>
Monitors the source and runs again in m minutes if changes are detected.
/rh:hhmm-hhmm
Specifies run times when new copies may be started.
/pf
Checks run times on a per-file (not per-pass) basis.
/ipg:<n>
Specifies the inter-packet gap to free bandwidth on slow lines.
/sj
Copies junctions (soft-links) to the destination path instead of link targets.
/sl
Don't follow symbolic links and instead create a copy of the link.
/mt:<n>
Creates multi-threaded copies with n threads. n must be an integer between 1 and 128. The default value for n is 8. For better performance, redirect your output using /log option.The /mt parameter can't be used with the /ipg and /efsraw parameters.
/nodcopy
Copies no directory info (the default /dcopy:DA is done).
/nooffload
Copies files without using the Windows Copy Offload mechanism.
/compress
Requests network compression during file transfer, if applicable.
/sparse
Enables retaining sparse state during copy.
<n>
<copyflags>
<copyflags>
<n>
<m>
<n>
<n>
The /mt parameter can't be used with the /ipg and /efsraw parameters.
Important
When using the /secfix copy option, specify the type of security information you want to copy, using one of these additional copy options:
Note
The /mt parameter was introduced in Windows Server 2008 R2 and its functionality applies to current versions of Windows Server.
Copy file throttling options
Option
Description