Robocopy Log File Meaning of New File, New Dir
Example log:
*EXTRA Dir -1 y:\Open Client Files\sample\
0 f:\server\blah\somefolder\
6 f:\server\blah\somefolder\
The numbers (-1, 0, 6, etc.) are the number of files in that folder. -1
is used for "Extra Dir" entries, and 0
is used for "New Dir" entries (and other folder without any files in them).
Note this number is a count of only the files in the folders, and does not include sub-folders that may be in the folder.
"New Dir" represents a folder that existed on the source but not in the target, and "Extra Dir" represents a folder that existed in the target that wasn't in the source.
"New File" and "Extra File" are the same thing, only for files. :)
"Extras" will be removed if you're using options like PURGE and MIR.
You may also want to check out this other SU question if you haven't already:
What does robocopy mean by tweaked, lonely and extra?