tomketchup
asked on
RoboCopy with Exclude
I am using robocopy to mirror two servers, with some exclusions. For some reason when I test the robocopy locally from one dir to another it works, but if I use the same command, but with a mapped drive as the source, then the exclusions stop working. Here are the two examples.
robocopy "c:\xamppdev\htdocs\optics elect" "c:\test\htdocs\opticselec t" *.* /mir /s /xd c:\xamppdev\htdocs\opticse lect\Conne ctions c:\xamppdev\htdocs\opticse lect\Conne ctions\tes t c:\xamppdev\htdocs\opticse lect\intra net\Connec tions c:\xamppdev\htdocs\opticse lect\intra net\upload ed_files r:1 /w:1 /SEC /NP /LOG:c:\xamppcopy.txt /tee
robocopy "\\192.168.10.99\c$\xamppd ev\htdocs\ opticselec t" "c:\test\htdocs\opticselec t" *.* /mir /s /xd c:\xamppdev\htdocs\opticse lect\Conne ctions c:\xamppdev\htdocs\opticse lect\Conne ctions\tes t c:\xamppdev\htdocs\opticse lect\intra net\Connec tions c:\xamppdev\htdocs\opticse lect\intra net\upload ed_files r:1 /w:1 /SEC /NP /LOG:c:\xamppcopy.txt /tee
As you can see they are exactly the same command, with the only difference being the source dest. Yet the results are vastly different.
Any help would be greatly appreciated.
TK
robocopy "c:\xamppdev\htdocs\optics
robocopy "\\192.168.10.99\c$\xamppd
As you can see they are exactly the same command, with the only difference being the source dest. Yet the results are vastly different.
Any help would be greatly appreciated.
TK
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Sorry, crossed posts there.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.