xcopy and Dates

G

Guest

I use xcopy to with the /d option (without a date) to make backups of files
which have changed since the last copy. This works fine copying to another
hard drive. When I direct the destination to a CD drive w/rewritable CD it
always copies every file. Are the dates handled differently on a CD. How do
I get only the changed files to copy.

Thanks
Roger
 
P

Pegasus \(MVP\)

RogerJ said:
I use xcopy to with the /d option (without a date) to make backups of files
which have changed since the last copy. This works fine copying to another
hard drive. When I direct the destination to a CD drive w/rewritable CD it
always copies every file. Are the dates handled differently on a CD. How do
I get only the changed files to copy.

Thanks
Roger

The /d switch does not copy files that have changed; instead it
copies those source files that are more recent than the target files.
To copy files that have changed, use the /m switch.

It is possible that the granularity of the file date stamp is
different on CDs as compared to hard disks. This would
explain the observation you made.
 
G

Guest

Thanks, This would work except I do multiple backups to diffirent targets
every night. Since the first one changes the archive bit the second does not
back it up! The date option does what I want, assuming it uses date last
changed. However not to a CD for some reason.
Rogerj
 
P

Pegasus \(MVP\)

Easy! Use the /a swith for all except the last backup, then use
the /m switch.
 
G

Guest

Yes, Thank-you ... I do not control the order that they run!!!! Can you just
believe me that I need to do it the way I have it set up, and does anyone
have an answer to (the original question) what's different about writing to
the CD?
 
P

Pegasus \(MVP\)

Your post appears to suffer from scope creep: You tell
us a little bit at the beginning, then a little more, then a
little more again. This makes it quite hard to suggest a
feasible solution.

I suggest you give us the whole story now, including
why you don't control the order of backup.
 
J

JasonA

Sorry: Had this in the wrong thread:
I also get this wierd behavior copying from a FAT32 partition to a NTFS
partition
Also I have to use < D.txt because the /i switch doesn't work either.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top