Link to home
Start Free TrialLog in
Avatar of hgj1357
hgj1357

asked on

Robocopy Log. List only New folders Created.

Robocopy.  Is it possible to generate a report / log file that only shows the new folders created as part of a particular copy run?  The verbose log lists every folder and file touched and uses "new dir" to indicate a new folder, but given that this verbose log is >95,000 lines that can be cumbersome.
ASKER CERTIFIED SOLUTION
Avatar of oBdA
oBdA

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Bill Prew
Bill Prew

I'm in a similar thought place as oBdA, but I would approach it by filtering out the "New File" lines and leaving the rest, so you get the totals and errors, etc.  Like:

find.exe /v /i " New File " robocopy.log

Open in new window


»bp
Avatar of hgj1357

ASKER

Thanks.  find.exe /i "New Dir" robocopy.log works a treat.