Avoid robocopy infinite loop with /XJ
Don't forget /XJ (exclude junctions) when backing up your windows user data with robocopy... Or else you'll enter an infinite loop.
(if using /MIR, the junction point won't be followed, but it is copied pointing to the original source... other bad thing)
Written by Nelson Antunes
Related protips
1 Response
I've used robocopy C:\Users F:\Users /E /R:0 /DCOPY:T /XJ
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#