• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 124
  • Last Modified:

RoboCopy command

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
WellingtonIS
Asked:
WellingtonIS
  • 3
  • 3
1 Solution
 
Paul MacDonaldDirector, Information SystemsCommented:
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
 
WellingtonISAuthor Commented:
thanks.  This won't deleted anything right?
0
 
Paul MacDonaldDirector, Information SystemsCommented:
It may over-write something on the destination, if that file already exists there.  It won't delete anything from the source.
0
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

 
WellingtonISAuthor Commented:
OK thanks I'll try this and see what happens
0
 
WellingtonISAuthor Commented:
Thanks!
0
 
Paul MacDonaldDirector, Information SystemsCommented:
Happy to help!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now