Solved

RoboCopy command

Posted on 2015-01-07
6
115 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 34

Accepted Solution

by:
Paul MacDonald earned 500 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

I guess it is not common knowledge to most Wintel engineers/administrators: If you have an SNMP-based monitoring system in your environment (and it's common to have SNMP or Syslog) it's reasonably easy to enable monitoring of the Windows Event logs,…
On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

734 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