I’m running the command:
robocopy /E /XJD E: D: /XD 'E:$RECYCLE.BIN' 'E:System Volume Information'
Which runs for a while but then gets stuck at:
2022/05/21 21:39:04 ERROR 5 (0x00000005) Copying File E:System Volume Informationtracking.log
Access is denied.
Waiting 30 seconds...
I think I’m using the right syntax for multiple directory exclusion, but just in case I tried:
robocopy /E /XJD E: D: /XD 'E:System Volume Information' /XD 'E:$RECYCLE.BIN' 'E:System Volume Information'
This errors with the same message. What am I doing wrong?