• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 121
  • 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

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