Re: Some robocopy questions...

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi Pegasus,

Thank you for your response again! Yep in fact, after reposting here, I did
a test right away... and I found out it would not overwrite my files if I
applied both. As I did not copy the timestamp on the duplicate one, it won't
overwrite the new one with /xn.

No matter what thank you very much again. Stay in touch :)

Bobson

"Pegasus [MVP]" wrote:

/xo = exclude older files
/xn = exclude newer files
/xo /xn: Exclude both older and newer files. A quick test will show you that
this is equivalent as not overwriting any files that pre-exist. When I do
not understand some instructions then I try to test them for myself - it
usually clarifies the issue.


"Bobson" <Bobson@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:3760D12E-51B6-4B48-A0E3-9AB7440497A1@xxxxxxxxxxxxxxxx
Hi Pegasus,

Thank you very much again for your frequent help. So should I apply XO or
XN? What are the differences of them? I repeat the syntax descriptions
several times but I can't still figure out which one I should use...

Thank you!

Bobson

"Pegasus [MVP]" wrote:


"Bobson" <Bobson@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:BB73FDAC-8467-42E5-8710-343E70E116D9@xxxxxxxxxxxxxxxx
hi everyone,

I have use Robocopy a few times...but would like to ask for smoething I
never tried before...

On the source server, I have a folder called Users, and there are all
users'
folders within, including userA, B, C...and so on. Now I would like to
copy
the subfolders of the Users folder to a new server. The new server has
Users
folder already. Also, in the Users folder, I have userA and UserB
already.
What syntax do I use to copy the content of the Users folder from the
source
to the new server without overwrite those folders with the same names
existing already?

Also, do you think the GUI Robocopy is the same as the command one?

Thank you for your help!

Bobson

Please bear with my poor English !

Thank you for your help!!

Bobson

You could use the /xo /xn switches to avoid overwriting existing files.
And
no, the GUI version of robocopy is not the same as the console version:
One
has a GUI interface, the other a command line interface.






.



Relevant Pages

  • Re: Warning Message to Prevent Overwritting
    ... The MkDir command won't overwrite the folder. ... "Dave Peterson" wrote: ... The code I gave you initially was to overwrite an existing file. ... Dim resp As Long ...
    (microsoft.public.excel.programming)
  • Re: Some robocopy questions...
    ... /xo = exclude older files ... On the source server, I have a folder called Users, and there are all ... Also, in the Users folder, I have userA and UserB ...
    (microsoft.public.windows.server.general)
  • Re: Moving Files From One 2003 server to another
    ... try using xcopy from the command line; it will copy files but not move them ... server and h to the users folder on new server, you can use a command line ...
    (microsoft.public.windows.file_system)
  • Re: Some robocopy questions...
    ... On the source server, I have a folder called Users, and there are all ... Also, in the Users folder, I have userA and UserB already. ... What syntax do I use to copy the content of the Users folder from the ...
    (microsoft.public.windows.server.general)
  • Re: Moving the USERS folder
    ... >>> I've tried to simply drag the Users folder to another ... I will NEVER advocate enabling the root account. ...
    (comp.sys.mac.misc)