in reply to Re^3: Robocopy log parsing
in thread Robocopy log parsing

Thanks alot for this. Works very nicely. There is one thing though. This is tyhe result:

New Dir + 16 x:\xxxxxx\xxx\ New File x:\xxxxxx\xxx\ + 126862 xxxxxxxxxxxxxxxxxxxxxxx.xxx New File x:\xxxxxx\xxx\ + 48640 xxxxxxxxxxxxxxxxxxxxxxxxx.xxx New File x:\xxxxxx\xxx\ + 96494 xxxxxxxxxxxxxxxxxxxxxx.xxx New File x:\xxxxxx\xxx\ + 105466 xxxxxxxxxxxxx.xxx New File x:\xxxxxx\xxx\ + 653655 xxxxxxxxxx.xxx New File x:\xxxxxx\xxx\ + 542396 123456778910xxxxx.xxx New Dir + 6 y:\yyyyyyyyy\yyyyyyyyyyy\yyyy +yyy\123456778910xxxxx.xxx New File y:\yyyyyyyyy\yyyyyyyyyyy\yyyyyyy\ + 41984 yyyyyyyyyyyyyyyyyy.yyy New File y:\yyyyyyyyy\yyyyyyyyyyy\yyyyyyy\ + 10007 yyyyyyyyyyyyyyy.yyy New File y:\yyyyyyyyy\yyyyyyyyyyy\yyyyyyy\ + 1.3 m yyyyyy.yyy

when it encounters the next New Dir entry, it adds the last filename from the previous one. as exampled above. Any suggestions?

Replies are listed 'Best First'.
Re^5: Robocopy log parsing
by Anonymous Monk on Jun 01, 2012 at 09:36 UTC

    Any suggestions?

    Its a classic off-by-one error (OBOE) , it should be simple to fix