I have a robocopy script that's skipping all files even though I'm specifically telling it to move PDF and CSV files and directories recursively. Directories are being created. Can someone help me solve this and I don't get why this is happening.

robocopy "\\servername\quote_docs" "\\domain\share" *.pdf *.csv /e /move /MAXAGE:1 /r:3 /log+:C:\robocopyERS\robolog.txt

Remove the "/MAXAGE:1" parameter and it should work. That parameter will make Robocopy only consider moving files newer than 1 day.

  • 1
    Of course! I'm such an idiot. The test files our software provider have generated have a date of 2015! – Simkill Feb 1 '17 at 12:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.