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.

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?

share|improve this question
    
Are the skipped and/or errored files reported to the console, perhaps? –  Richard May 7 '13 at 14:39
    
No it is everything in the log file. At this time for example one directory was skipped, but I don't know which? Was it one of my excluded directories? Perhaps it will show some errors if I use full logging, but also there is perhaps an "Access denied" instead of something like "Error: Access denied". I look for some keyword I can search (because looking through all files is too much ...) –  testing May 7 '13 at 14:55

2 Answers 2

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).

share|improve this answer
    
So this source is wrong? –  testing May 7 '13 at 17:03
    
That source seems to be aiming to remove all logging except errors. A skipped file is not an "error". :) –  Ƭᴇcʜιᴇ007 May 7 '13 at 17:07
    
So should I worry about skipped files? If I interpret it right than skipped files are available on the destination folder... –  testing May 7 '13 at 19:25
    
Do you know a programm/power shell script/vb script which can show me the skipped files/directories? –  testing May 7 '13 at 20:50

I had the same problem but I think I know the answer. When I ran it the first time I moved about a gig just to see if my setting were correct. Then I ran it again with for the full copy and it "SKIPPED" the first set of files I moved, but in the log it says "same" however the summary says "SKIPPED".

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.