Robocopy: show skipped files and files with an error while copying

I'm using the following command for copying files while preserving timestamps:

robocopy [source] [destination] /E /ZB /COPY:DAT /DCOPY:T /R:1 /W:5 /V /NFL /NDL /NS /NC /NP /log:"[log-path]" /XD "System Volume Information" "Recycler"

Now in the log files I see that there are files skipped or there are errors while copying. But I don't know which file had an error or is skipped.

What I'm doing wrong?


Solution 1:

Remove the /NFL and /NDL arguments from your command line to include file and directory lists in your logs (perhaps consider removing /NS and /NC as well).

Run it again, and look at the actual file list in the log.

Entries in the log with no status listed to the left of the file/directory name (statuses are like "Newer", "Extra", etc.) are files that were skipped (because they are the same, and therefore no action was taken).

Solution 2:

SKIPPED via robocopy means that source and target versions of the file are same.. SO, it just skips the copy. You can use /is option to overwrite even the exactly same files.