wcgplc
asked on
Set robocopy to exclude "System Volume Information" folder
I am running the following robocopy command but get lots of errors as it will not copy the system volume information folder.
How can I exclude the folder?
1. This is the command I am currently running:
robocopy \\10.16.0.5\d$ \\10.16.0.10\d$ /MIR /ZB /DCOPY:T /COPYALL /R:10 /W:1 /V /256 /TEE /XD \\10.16.0.5\d$\logs \\10.16.0.5\d$\RingCentral /S /LOG:c:\Robocopy1.log
2. I tried to exclude the folder using the following but it didn't work
robocopy \\10.16.0.5\d$ \\10.16.0.10\d$ /MIR /ZB /DCOPY:T /COPYALL /R:10 /W:1 /V /256 /TEE /XD \\10.16.0.5\d$\logs \\10.16.0.5\d$\RingCentral \\10.16.0.5\d$\systemvolum einformati on /S /LOG:c:\Robocopy1.log
3. I also tried the following but it failed also:
robocopy \\10.16.0.5\d$ \\10.16.0.10\d$ /MIR /ZB /DCOPY:T /COPYALL /R:10 /W:1 /V /256 /TEE /XD \\10.16.0.5\d$\logs \\10.16.0.5\d$\RingCentral \\10.16.0.5\d$\system volume information /S /LOG:c:\Robocopy1.log
Please advise of how I need to modify the script to exclude the "system volume information" folder
How can I exclude the folder?
1. This is the command I am currently running:
robocopy \\10.16.0.5\d$ \\10.16.0.10\d$ /MIR /ZB /DCOPY:T /COPYALL /R:10 /W:1 /V /256 /TEE /XD \\10.16.0.5\d$\logs \\10.16.0.5\d$\RingCentral
2. I tried to exclude the folder using the following but it didn't work
robocopy \\10.16.0.5\d$ \\10.16.0.10\d$ /MIR /ZB /DCOPY:T /COPYALL /R:10 /W:1 /V /256 /TEE /XD \\10.16.0.5\d$\logs \\10.16.0.5\d$\RingCentral
3. I also tried the following but it failed also:
robocopy \\10.16.0.5\d$ \\10.16.0.10\d$ /MIR /ZB /DCOPY:T /COPYALL /R:10 /W:1 /V /256 /TEE /XD \\10.16.0.5\d$\logs \\10.16.0.5\d$\RingCentral
Please advise of how I need to modify the script to exclude the "system volume information" folder
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Just tested and that worked perfectly. Thanks so much.
/MT:20 would be good, so it'll copy 20 files at a time, considering most of those files will be relatively small that would be a good plan.
Regards
Alex