Normally /D (without a date) copies only newer files.
But, it determines what is newer from the time/date stamp on each file.
If the time/date stamp is changed, such as during a switch to/from daylight saving time, then I have seen cases in which all files appear to be new and are copied. For this reason I have turned off the automatic adjustment for daylight saving time on the XP clock's time-zone tab.
I have also seen one case in which backing up to a network drive had a similar problem, even though both PCs were nominally in the same time zone, with the same options.
"yacrumb" <yacrumb[ at ]yahoo.se> wrote in message news:1183821475.931661.219650[ at ]n60g2000hse.googlegroups.com...
[Quoted Text] > Hello all, > > I am trying to setup a backup-script with xcopy like this: > > xcopy C:\projects Z:\backup\projecs /D /E /I /Y > > But all files are copied each time it is run. Since /D switch is > given without date then only newer files should be copied, right? What > am I missing? > > Thanks in advance! > > /Rasmus >
|