Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Windows XP » microsoft.public.windowsxp.basics
Thread: xcopy /d date-switch not detected?

HTVi
TV Discussion Newsgroups

xcopy /d date-switch not detected?
yacrumb <yacrumb[ at ]yahoo.se> 7/7/2007 3:17:55 PM
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

Re: xcopy /d date-switch not detected?
"Bob Harris" <rharris270[SPAM][ at ]hotmail.com> 7/7/2007 5:36:19 PM
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
>


Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen