public:using_robocopy

This is an old revision of the document!


Using robocopy

Robocopy is a Windows command line tool that can be used to robustly copy files. It's a bit similar to rsync on UNIX platforms.

To mirror a folder

robocopy C:\Folder1\ D:\Folder2\ /MIR /XO

Meaning of the options:

  • /MIR: Mirrors the source to the destination. This also deletes files and directories from the destination that do not exist in the source!
  • /XO: Do not recopy older files. If the destination has a file with a date equal or newer to the source, the source file is not copied again.

References

public/using_robocopy.1711019315.txt.gz · Last modified: by thomas

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki