Why Won’t Robocopy Copy Files After Using the /mir Flag?

0
2
Asked By CleverCactus77 On

I mistakenly used the /mir (mirror) flag while moving files, and now Robocopy is acting weird. The only other option I had was /mt:8. After using /mir, it deleted the destination files, and when I started fresh, Robocopy only copies a single zip file and a lock file instead of the 120,000 files I expected. If I use /mir again, it works, but without it, no luck. Can anyone explain what's going on?

1 Answer

Answered By TechieTraveler99 On

It sounds like you're running into some default settings that got messed up after using /mir. Robocopy typically has built-in options that you may not be aware of. Try using the /E flag instead of /mir; it copies subdirectories and includes empty ones. This might work better for your needs!

FileGuru22 -

I was actually running a command with no flags initially. It showed something like /COPY:DAT, and I thought it wasn't working. But when I tried /E, it started working again. Any idea why that fixed the issue?

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.