Robocopy (without /l flag) running for hours making log file huge, but not actually copying anything
Posted
by
Mickster
on Super User
See other posts from Super User
or by Mickster
Published on 2013-10-30T19:05:58Z
Indexed on
2013/10/31
16:01 UTC
Read the original article
Hit count: 197
Here's my command:
Robocopy C: C:\C_root /FP /BYTES /TEE /S /E /COPYALL /DCOPY:T /MOVE /Z /ETA /XJ /R:2 /W:30 /XF pagefile.sys /XD /LOG:C:\robocopy.log.
BTW, notice the /XD option above. After that I had a few directories that I want to omit. I showed these between angle brackets like this: (left angle bracket) a few dirs I wanted to exclude (right angle bracket). Amongst these dirs was the C_root dir itself, so that it did not get into an "infinite" recursion. (This part was stripped from the post because angle brackets apparently have a meta-meaning to superuser.com about hyperlinks.)
The command window this was running in listed a few "EXTRA" files then "hung". By this, I mean no more output, no cmnd prompt, and if I tried to scroll it up, it would immediately scroll right back to the bottom.
After about six hours, it finally finished, although I never got a cmnd prompt back in the window I started it in. DIR shows the log file at more than 1.3GB, but when I try to do a MORE on it, I get "Cannot access file"
. C:\C_root
never grew larger.
Does anyone have an idea what is going on here?
© Super User or respective owner