How to prevent robocopy /MIR from outputting the "EXTRA File" line in the log?
Mia Lopez
Similar question has been asked in 2010 and 2012 but the answers don't cover this question.
When I use robocopy /MIR, if the destination has a file that's not in the source, it'll be deleted, and a line of "Extra File: xxxxx" will show in stdout. Sometimes there could be millions of such lines, which I don't need to see.
Flags like robocoyp /MIR /NFL /NDL /NS /NC /NP have no effect on Extra Files. Among those, /NC (no classes) will remove the words "Extra File`, but still output the file path and name.
I could do something like robocopy /MIR > NUL, but that'll remove all stdout. I do still want to see the summary.