Robocopy Skipped File

I ran the following batch file to robocopy a directory from one drive to another:


ROBOCOPY %SORC% %DEST% /MIR /S /ZB /W:1 /R:1 /XA:HS /V /NP /LOG:%LOG%
@if errorlevel 16 echo ***ERROR *** & goto END
@if errorlevel 8 echo **FAILED COPY ** & goto END
@if errorlevel 4 echo *MISMATCHES * & goto END
@if errorlevel 2 echo EXTRA FILES & goto END
@if errorlevel 1 echo --Copy Successful-- & goto END
@if errorlevel 0 echo --Copy Successful-- & goto END
goto END

:END

pause

There are 884 skipped files about 85mb.  I thought the /v switch would show me the location of those skipped files so I can make sure they aren't needed.  Is there another way to determine which files were skipped?

Thanks!
cityofdekalbAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

oBdACommented:
"Skipped" does not mean the files aren't in the target; "skipped" means that the files were not copied because they already existed in the target folder (same size, same date).
These files will show up with /v, and be tagged as "same".
cityofdekalbAuthor Commented:
Does this apply to the same file in different folders?  I did a search for "same" and go no results.  Is there anything else I can check?

Thanks!
oBdACommented:
What do you mean with "Does this apply to the same file in different folders?"
First copy, one file, target folder is empty, file class is "New File"; one skipped dir, because the target directory existed already:
  Options : /V /DCOPY:DA /COPY:DAT /R:0 /W:30

------------------------------------------------------------------------------

                           1    d:\Temp\
100%        New File                   1        test.txt

------------------------------------------------------------------------------

               Total    Copied   Skipped  Mismatch    FAILED    Extras
    Dirs :         1         0         1         0         0         0
   Files :         1         1         0         0         0         0
   Bytes :         1         1         0         0         0         0
   Times :   0:00:00   0:00:00                       0:00:00   0:00:00

Open in new window

Second copy, without changing anything,; file class is now "same", one skipped file (and the same skipped dir); "same" will only be logged with /v:
  Options : /V /DCOPY:DA /COPY:DAT /R:0 /W:30

------------------------------------------------------------------------------

                           1    d:\Temp\
                  same                 1        test.txt

------------------------------------------------------------------------------

               Total    Copied   Skipped  Mismatch    FAILED    Extras
    Dirs :         1         0         1         0         0         0
   Files :         1         0         1         0         0         0
   Bytes :         1         0         1         0         0         0
   Times :   0:00:00   0:00:00                       0:00:00   0:00:00

Open in new window

cityofdekalbAuthor Commented:
This was a copy of a folder to a completely new location.  There wasn't anything there to begin with.  That's why I an confused by it skipped that many files but not showing the path for them since I had the /v switch turned on.
oBdACommented:
Sorry, just re-checked your command line. These skipped files are coming from the /XA:HS option you're using. They're tagged as "Attribute" when logged with /v.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2012

From novice to tech pro — start learning today.