Making RoboCopy silent (via: backup – How can I make robocopy silent in the command line except for progress? – Stack Overflow)
Posted by jpluimers on 2012/09/14
A while ago, I got a question from a colleague on how to silence RoboCopy.
The RoboCopy /?
help is a bit awkward to read, so there is this nice SO answer by Ruben Koene:
So together with previous answer you get the following and it’s silent:
ROBOCOPY [target] /njh /njs /ndl /nc /ns /np /nfl
And there is the FIND way where I marked the relevant options with an asterisk (*):
C:\Users\jeroenp>robocopy /? | find /i "No" /S :: copy Subdirectories, but not empty ones. /NOCOPY :: COPY NO file info (useful with /PURGE). /PURGE :: delete dest files/dirs that no longer exist in source. /PF :: check run hours on a Per File (not per pass) basis. n must be at least 1 and not greater than 128. /XJ :: eXclude Junction points. (normally included by default). /X :: report all eXtra files, not just those selected. * /NS :: No Size - don't log file sizes. * /NC :: No Class - don't log file classes. * /NFL :: No File List - don't log file names. * /NDL :: No Directory List - don't log directory names. * /NP :: No Progress - don't display percentage copied. * /NJH :: No Job Header. * /NJS :: No Job Summary. /NOSD :: NO Source Directory is specified. /NODD :: NO Destination Directory is specified.
–jeroen
via: backup – How can I make robocopy silent in the command line except for progress? – Stack Overflow.
george renee said
A workaround, if you want it to be absolutely silent, is to redirect the output to a file (and optionally delete it later).
Robocopy src dest > output.log
del output…
currently i use GS Richcopy 360 Enterprise for command line..robocopy is a good tool but it crashes several times.
jpluimers said
Thanks!
Warren Postma (@WarrenPostma) said
Interestingly, robocopy (at least on some windows versions) has a bug where /NP flag does not work. You still get 100% output a million times.
jpluimers said
Any idea which Windows or Robocopy versions?