Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I copied a huge number of files using Robocopy, and received a note at the end that two files failed. I didn't set a switch to save a log file.

Is there a log file saved in a default location automatically? I'd obviously prefer not to re-copy everything, to get this information.

share|improve this question

Robocopy does not keep a default log file. It does however only copy files with differences by default. So if you tried the same copy again it would skip the ones that had already successfully copied.

share|improve this answer
How does it determine if something has changed? – Gabe Feb 9 '12 at 16:59
"By default Robocopy will only copy a file if the source and destination have different time stamps or different file sizes." – EBGreen Feb 9 '12 at 17:01
Thanks so much. That's great. – Gabe Feb 9 '12 at 17:04

Use the V switch when running robocopy

/V : Produce Verbose output log, showing skipped files.

You may also want to include this switch

/FP : Include Full Pathname of files in the output

More robocopy command line options

share|improve this answer

One thing you may find useful is to try the copy again with the /L switch. That switch is similar to the -n/--dry-run switches in rsync - it generates a log of what would happen but doesn't actually copy anything. It's nice because it's much quicker, non-destructive, and can be quite versatile when combined with other switches like /V, /LOG:file and /LOG+:file.

share|improve this answer

If you want robocopy to create a log, you have to specify a log file with the /log:[filepath] parameter. I usually pair this with the /tee switch, so I see progress on the console as well.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .