To perform a merge of two similar directory structures the following robocopy command can be used. It will Move files from source to destination if they are unique. If there are any clashes it will leave them in the source. These clashes could then be copied to the destination into a "Clashes" folder for manual review.
robocopy source dest /E /MOVE /XC /XN /XO /XX /W:1 /R:1 /V >merge.txt
The command basically moves everything except clashing files.
No comments:
Post a Comment