mm
2011-02-12 00:46:47 UTC
So now that I think I have the program running that backs up my file
every 5 minutes, I'd like to either get fewer backups or delete the
duplicate ones.
To get fewer backups, I thought maybe I could check before backing up
if the attribute byte had changed. But Copy doesn't have that
facility, and when I had used XCopy, it kept asking me if the
destination was a file or a directory. There seem to be ways to make
it assume it's a directory, but I can't figure out how to make it
assume it's a file.
The destination files don't have the same name as the source file, and
I don't want to have to manually answer this question every 5 minutes.
To delete the duplicate files, I thought rather than write my own, I
would find a dos or windows program to go through the directory
looking for consecutive files of the same length. Not a dos question
probably, but I thought I'd mention it in case you know something like
that!
Thanks.
every 5 minutes, I'd like to either get fewer backups or delete the
duplicate ones.
To get fewer backups, I thought maybe I could check before backing up
if the attribute byte had changed. But Copy doesn't have that
facility, and when I had used XCopy, it kept asking me if the
destination was a file or a directory. There seem to be ways to make
it assume it's a directory, but I can't figure out how to make it
assume it's a file.
The destination files don't have the same name as the source file, and
I don't want to have to manually answer this question every 5 minutes.
To delete the duplicate files, I thought rather than write my own, I
would find a dos or windows program to go through the directory
looking for consecutive files of the same length. Not a dos question
probably, but I thought I'd mention it in case you know something like
that!
Thanks.