Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I used the following command:

Robocopy c:\source c:\backup /MIR /XD .svn

Then I deleted c:\backup and did it once again. This time it ignored all files and copied nothing.
Why is that?

How do I force Robocopy to copy all the files again?

share|improve this question
I cannot reproduce this problem. If I delete the backup dir and run robocopy again, it will do the copy again. – Snark Nov 8 '09 at 23:34
up vote 1 down vote accepted

I can only guess that the /MIR is assuming that the files are already there and not checking again. Maybe include the /FFT switch as well which uses timestamps for comparison and see if it makes a difference.

Alternatively let robocopy log what it is doing. The log file may reveal why it is currently skipping files or folders. I would use the following for troubleshooting:

Robocopy c:\source c:\backup /MIR /V /LOG:WhySkip.txt /XD .svn

/V - Verbose listing including skipped files
/LOG:file - Log output to file

share|improve this answer
Well I changed the target directory so that it works. – asksuperuser Nov 13 '09 at 16:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.