Cliff said:
I know it's probably easy, but this program has SO MANY options it's mind
boggling.
I have two pc's that each have a folder named \music. I would like to synch
up c:\music to s:\music including subfolders. I don't want anything
deleted, but I would like older files overwritten by newer files. It
doesn't have to be a single xxcopy command, but it would be nice.
Can anyone out there help me with this please? Thanks in advance.
It seems that more experienced XXCOPY users hang around the
XXCOPY discussion group than in this newsgroup.
You will have better chance getting good advice at the forum.
http://groups.yahoo.com/group/xxcopy/
If you have a fairly common problem (like this one), you may
use the keyword search at the XXCOPY web page. Near the top
of the main page,
http://www.xxcopy.com, you will find a box
XXCOPY SelfHelp with Keyword: _______ [ Search Archive ]
Just enter your keyword, "synchronize" and click the button,
and you will find more than 20 messages on the subject.
More specifically, the following page shows my message
that I recently posted.
http://groups.yahoo.com/group/xxcopy/message/6137
To be more direct:
create a batch file
mysync.bat
------------------------------------------
XXCOPY \dir1\ \dir2\ /backup/bn
XXCOPY \dir2\ \dir1\ /backup/bn
------------------------------------------
/backup/bn is the same as /KS/H/E/R/Q/Y/BN
Here, the /BN switch selects only files that
are newer and copy them into the destination.
You run it in both directions. It takes care
of subdirectories, hidden/system files, preserves
the file attributes even with read-only attributes
and overwrites read-only files also.
BTW, we receive many requests to make this two-step
procedure into one command. We find such a method
will severely restrict the flexibility. Keeping it
in two step process, it retains all the power of
XXCOPY which is mostly due to its ability to combine
many switches.
Kan Yabumoto