PURGE :: delete dest files/dirs that no longer exist in source. E :: copy subdirectories, including Empty ones. Well, um, yeah, because that’s what the /MIR option means. The customer continued, “From a user perspective, it seems that I should have really been alerted by robocopy that the target folder (in this case, D:\backups\fdrive) wasn’t empty, and it should have asked for confirmation that I didn’t really want to lose those files (which I didn’t).” If I had let the copy run to completion, it presumably would have eventually copied the files from their location on the F: drive to the corresponding subdirectory of D:\backups\fdrive.” The customer theorized, “I suspect that what happened is that robocopy was matching the directory structure of the F: drive against the directory structure of D:\backups\fdrive, and since my important spreadsheet files weren’t present in the F:\spreadsheets folder on the source, it deleted them from the destination. The customer let this command run for a while, but then the operation started encountering Access denied errors, so they hit Ctrl C to stop the robocopy command.Īt this point, the customer noticed that the spreadsheets folder was gone. Next, the customer wanted to copy their entire F: drive to the D:\backups\fdrive folder, so they performed the following command: Next the customer copied two files from their F: drive to the D:\backups\fdrive\spreadsheets folder. The customer went back and retraced their steps and reconstructed what happened.įirst, the customer created a folder on their D: called D:\backups\fdrive\spreadsheets. I asked them to check whether the folder really was there, by going to a command prompt and using the dir /a command. A customer reported that Explorer was not showing a folder on their hard drive that they were sure was there.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |