Robocopy Deleting Files at Destination
Posted on 2015-02-11
I'm copy user documents from another company provided on USB drive to the user's home folder in my company. The user has been creating folders and files in the destination location, but when I run the robocopy job, it deletes all of these files and folders, and replaces them only with what I have on the USB drive. Please advise which parameters I should change to prevent his from occuring:
robocopy "F:\Documents\User1" "\\fileshare\User\Personal\User1" /MIR /COPY:DATOU /DCOPY:T /R:1 /W:1 /XO /LOG:F:\User1log.txt
Can I just add the /XX parameter, to exclude the extra files? That is what is being logged that there are Extra directories and files.
Do I use in conjunction with the /XO parameter?
Thanks in advance!