|
The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024
|
|
[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
Re: [OT] XP file copy utility?
Paul Gale wrote:
> I?m looking for a third party file copy utility for XP that will only
replaces files that don?t exist or are newer/bigger filesizes. XP?s inbuilt
copy util is rubbish!
>
xcopy with the /d switch is your friend - and its already comes with the
OS!
We use it all the time to sync servers - the /d switch tells it to copy
if the date is newer on the source file than the existing - as you
already have a copy of the same file then the dates the same therefore
it will ignore it.
The full command is something like
xcopy {source path eg f:\public} {destination path eg d:\public} /s /e
/d /c /h /r /k /y
you just keep running this until it reports 0 files copies - then both
servers are in sync. (recopies don't take long usually)
You could also add the /o /x options to copy access control lists along
with each file as long as the source and destination servers are in the
same domain (which yours are) - but be sure that the administrator has
full access to everything otherwise you end up locking yourself out of
destination files (and then it gets a right pain trawling through the
directories finding the ones you don't have rights to!)
If you get stuck - do a 'xcopy /?' at the cmd prompt for a full breakdown.
The only downside is there's no progress on the complete job. - I posted
a free copy util that did display a progress bar 'xxcopy.com' but havnt
played with it too much yet.
have fun!
Wayne.
UKHA_D Main Index |
UKHA_D Thread Index |
UKHA_D Home |
Archives Home
|
|