public:using_robocopy

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
public:using_robocopy [2024/03/21 11:08] thomaspublic:using_robocopy [2024/03/21 15:51] (current) – [To mirror a folder] thomas
Line 5: Line 5:
 ===== To mirror a folder ===== ===== To mirror a folder =====
  
-<code>+<code batch>
 robocopy C:\Folder1\ D:\Folder2\ /MIR /XO robocopy C:\Folder1\ D:\Folder2\ /MIR /XO
 </code> </code>
  
 Meaning of the options: 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! +  * ''/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.+  * ''/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 ===== ===== References =====
public/using_robocopy.1711019315.txt.gz · Last modified: by thomas

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki