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
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!
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?