/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
> 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!
> "Pegasus [MVP]" wrote:
>> "Bobson" <Bobson@newsgroup> wrote in message
>> > 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.
>> no, the GUI version of robocopy is not the same as the console version:
>> has a GUI interface, the other a command line interface.