Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Will the options /nfl /ndl be enough and not exclude errors too?

share|improve this question

migrated from stackoverflow.com Oct 18 '12 at 6:56

This question came from our site for professional and enthusiast programmers.

1 Answer 1

up vote 3 down vote accepted

Besides /nfl (no list of file names) and ndl (no list of directory names) there are some other switches to exlude things from the output. These are:

  • ns (no file sizes)
  • nc (no file classes)
  • np (no status)
  • njh (no job header)
  • njs (no job summary)

If you want to write your log into a text file, your command should look like this:

robocopy [source] [destination] /nfl /ndl /njh /njs /ns /nc /np >> log.txt
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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