With Robocopy, I use these switches in my batch file:
/MIR /xf desktop.ini /e /np /tee
Is there a switch to show only screen output of changed or newer files? I prefer not to see all unchanged files scrolling through the screen.
Thanks in advance.
Robocopy switches - screen ouput
Moderator: DosItHelp
Re: Robocopy switches - screen ouput
I assume it's only a part of the parameters that you posted. Option /tee indicates that you want both writing to a log file and displaying the output at the same time. Have a look at the logging options
https://www.dostips.com/DosCommandIndex.php#ROBOCOPY
But if you want to fully log but only display a part of it then you're out of luck with robocopy only. You can pipe the output to findstr though. Either to filter the lines you want to display or (using /v) to exclude lines from the output.
Steffen
https://www.dostips.com/DosCommandIndex.php#ROBOCOPY
But if you want to fully log but only display a part of it then you're out of luck with robocopy only. You can pipe the output to findstr though. Either to filter the lines you want to display or (using /v) to exclude lines from the output.
Steffen