Seth Simmons
asked on
robocopy question
I have a question with robocopy that could be very simply that i'm just not seeing...
i want to copy folders from one server to another
the source looks like:
v:\folder1
v:\folder2
v:\folder3
etc.
the goal is to have the folders appear in the destination as:
w:\share\folder1
w:\share\folder2
etc.
problem is, when using robocopy, it is copying the contents of folder1 into w:\share instead of creating folder1 first
i'm doing robocopy v:\folder1 w:\share /e /copy:datsou
i even tried just putting v:\ for the source and for the filename, putting the name of the folder; it ignores the folder and starts copying everything from the root. i don't want to copy everything from the root level
server is 2008 R2
i want to copy folders from one server to another
the source looks like:
v:\folder1
v:\folder2
v:\folder3
etc.
the goal is to have the folders appear in the destination as:
w:\share\folder1
w:\share\folder2
etc.
problem is, when using robocopy, it is copying the contents of folder1 into w:\share instead of creating folder1 first
i'm doing robocopy v:\folder1 w:\share /e /copy:datsou
i even tried just putting v:\ for the source and for the filename, putting the name of the folder; it ignores the folder and starts copying everything from the root. i don't want to copy everything from the root level
server is 2008 R2
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
If you want it to show up as under share, you must enumerate it.
i was thinking about this this morning; probably just have to create that top level folder first since it doesn't seem possible starting with the folder itself
Open in new window