RoboCopy or Robust File Copy for Windows is an enhanced file copy that far surpasses what you can do from either the Explorer or XCOPY It is a very robust command line driven program with a huge amount of switches and options. In addition to standard switches like /S for subdirectories.
1. /PURGE :: delete dest files/dirs that no longer exist in source
2. /MOV :: MOVe files (delete from source after copying)
3. /MON:n ::Monitor source; run again when more than n changes seen.
4. /MOT:m :: MOnitor source; run again in m minutes Time, if changed
5. /MAX:n :: MAXimum file size - exclude files bigger than n bytes.
6. /MAXAGE:n :: MAXimum file AGE - exclude files older than n days/date
7. /R:n :: number of Retries on failed copies: default 1 million
8. /TBD :: wait for sharenames To Be Defined (retry error 67)