Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

RoboCopy command

Posted on 2015-01-07
6
Medium Priority
?
119 Views
Last Modified: 2015-01-07
I have a directory on a server \\server\folder\folder\folder\folder and I want to copy that folder to Y:\folder
I'm trying to use robocopy I'm doing the following:
robocopy \\server\folder\folder\folder\folder Y:\folder /E /S /ZB /Copyall /TEE

Is this correct?
0
Comment
Question by:WellingtonIS
  • 3
  • 3
6 Comments
 
LVL 34

Accepted Solution

by:
Paul MacDonald earned 2000 total points
ID: 40535677
The /E and /S switches are mutually exclusive.   Use one or the other, but not both.  The /COPYALL switch is redundant with either /E or /S so it's not needed at all.

This will probably do just fine:
robocopy \\server\folder\folder\folder\folder Y:\folder /E /ZB /TEE
0
 

Author Comment

by:WellingtonIS
ID: 40535682
thanks.  This won't deleted anything right?
0
 
LVL 34

Expert Comment

by:Paul MacDonald
ID: 40535704
It may over-write something on the destination, if that file already exists there.  It won't delete anything from the source.
0
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 

Author Comment

by:WellingtonIS
ID: 40535712
OK thanks I'll try this and see what happens
0
 

Author Closing Comment

by:WellingtonIS
ID: 40535769
Thanks!
0
 
LVL 34

Expert Comment

by:Paul MacDonald
ID: 40536236
Happy to help!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The HP utility "HP Lights-Out Online Configuration Utility for Windows Server 2003/2008" could be of great use when it comes to remotely configure a HP servers ILO WITHOUT rebooting the server. We would only need to create and run scripts using thi…
by Batuhan Cetin Within the dynamic life of an IT administrator, we hold many information in our minds like user names, passwords, IDs, phone numbers, incomes, service tags, bills and the order from our wives to buy milk when coming back to home.…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question