Usage:
robocopy <Source> <Destination> [<File>[ ...]] [<Options>]
<Source> Specifies the path to the source directory.
<Destination> Specifies the path to the destination directory.
<File> Specifies the file or files to be copied. You can use wildcard characters (* or ?)
<Options> Specifies options to be used with the robocopy command.
Some of the important switches (options):
/S :: copy Subdirectories, but not empty ones.
/E :: copy subdirectories, including Empty ones.
/MOV :: MOVe files (delete from source after copying). /MOVE :: MOVE files AND dirs (delete from source after copying).
/xo Excludes older files (to exclude files that are older than those they're being copied over)
Scheduling
/rh:hhmm-hhmm Specifies run times when new copies may be started.
Logging
/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).
/l Specifies that files are to be listed only (and not copied, deleted, or time stamped).
A complete list can be found at
https://technet.microsoft.com/en-us/library/cc733145(v=ws.11).aspx
or
http://burpee.smccme.edu/studenthowtos/robocopy.htm
No comments:
Post a Comment