Windows Vista Forums

Some robocopy questions...
  1. #1


    Bobson Guest

    Some robocopy questions...

    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



      My System SpecsSystem Spec

  2. #2


    Pegasus [MVP] Guest

    Re: Some robocopy questions...


    "Bobson" <Bobson@newsgroup> wrote in message
    news:BB73FDAC-8467-42E5-8710-343E70E116D9@newsgroup

    > 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.



      My System SpecsSystem Spec

  3. #3


    Bobson Guest

    Re: Some robocopy questions...

    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@newsgroup> wrote in message
    > news:BB73FDAC-8467-42E5-8710-343E70E116D9@newsgroup

    > > 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.
    >
    >
    >

      My System SpecsSystem Spec

  4. #4


    Pegasus [MVP] Guest

    Re: Some robocopy questions...

    /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@newsgroup> wrote in message
    news:3760D12E-51B6-4B48-A0E3-9AB7440497A1@newsgroup

    > 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@newsgroup> wrote in message
    >> news:BB73FDAC-8467-42E5-8710-343E70E116D9@newsgroup

    >> > 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.
    >>
    >>
    >>


      My System SpecsSystem Spec

  5. #5


    Bobson Guest

    Re: Some robocopy questions...

    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@newsgroup> wrote in message
    > news:3760D12E-51B6-4B48-A0E3-9AB7440497A1@newsgroup

    > > 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@newsgroup> wrote in message
    > >> news:BB73FDAC-8467-42E5-8710-343E70E116D9@newsgroup
    > >> > 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.
    > >>
    > >>
    > >>
    >
    >
    >

      My System SpecsSystem Spec

Some robocopy questions... problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Robocopy dj12midnit General Discussion 1 06 Aug 2009
how to use robocopy niks Vista file management 2 12 Mar 2008
Robocopy leapyear Vista General 9 25 Feb 2008
robocopy mediaplayerasker Vista file management 3 09 Feb 2008
Robocopy Dag N Vista General 1 23 Sep 2006