R
Richard Guse
Does anyone know how to automatically validate robocopy? Normally, a program
would print to stderr if there was a problem but robocopy seems to always
send everything to stdout. It looks like I'm stuck parsing the file for
keywords (either looking in the FAILED column at the bottom or look in the
output for other failure factors).
Most of the failure messages I see (although rare) are access problems.
But of course if I do this I'd have to be looking out for updates of robocopy
in the future which may change how the data is presented at the bottom of the
output. It would be nice if all FAILED data was sent to stderr.
Thanks for any help.
would print to stderr if there was a problem but robocopy seems to always
send everything to stdout. It looks like I'm stuck parsing the file for
keywords (either looking in the FAILED column at the bottom or look in the
output for other failure factors).
Most of the failure messages I see (although rare) are access problems.
But of course if I do this I'd have to be looking out for updates of robocopy
in the future which may change how the data is presented at the bottom of the
output. It would be nice if all FAILED data was sent to stderr.
Thanks for any help.