logo logo

Robocopy gets into infinite loop on NTFS Junction points

It turns out that robocopy can get stuck in an infinite loop on the junction point if you are copying windows users. You have to use the “/xj” part in order to it to skip this issue. It can eat up ALL SPACE on the other drive if you don’t do this.

For example, to copy all of the C drive to another place: Robocopy C:\ E:\ /xj /e
That would copy all of C to E with all subfolders and no junction points.