Mr Darcy wrote:Another option is to dive into the old DOS commands.
In particular, the XCOPY command:
"XCOPY c:\MasterPhotos\*.* H:\BackupPhotos\*.* /M/S" should do the trick.
the /M switch only copies files with the Archive attribute set, then clears the attribute., so photos are only copied once, unless they change.
The /S switch copies all directories & subdirectories as well as files.
This command can be put into a batch file, then run at a set time. (See the AT command.
To get to the DOS commands Start... Run... cmd {Enter}. This will open up a command window. You can now use your DOS commands, and lots else. Try typing XCOPY /?{Enter} to get a list of ALL the XCOPY command can do for you. It is very powerful
I use a similar system to Mr Darcy.
I had a reasonably new harddrive (< 6 months old), that I hadn't backed up ... contained all manner of things, including photos taken on new d50. Hard drive died and would not spin up again.
Not Happy Jan!
Hard drive was replaced under warranty. I subsequently bought an external hard drive (well an internal hard drive in an external - with USB box).
I have the following in a batch file (works in Win XP) ...
@ECHO OFF
@Set mm=%DATE:~4,2%
@Set dd=%DATE:~7,2%
@Set yyyy=%DATE:~10,4%
@xcopy g:\*.* L:\ /D/E/F/C/Y/M >> d:/%yyyy%%mm%%dd%_BU.txt
It copies everything from the hard drive to the backup.
switches do the following
/D Copies files changed on or after the specified date. If no date is given, copies only those files whose source time is newer than the destination time.
/E Copies directories and subdirectories, including empty ones. Same as /S /E. May be used to
modify /T.
/F Displays full source and destination file names while copying.
** USED later **
/C Continues copying even if errors occur.
** Continues if file is in use
/Y Suppresses prompting to confirm you want to overwrite an existing destination file.
* Don't want process to stop in a batch
/M Copies only files with the archive attribute set, turns off the archive attribute.
** As Mr Darcy mentioned turns off the Archive Attribute
If you look at your windows explorer - in details
mode, you can add the attributes of files as a column. Anything with an "A" will get copied, and then the "A" is removed from that file.
The results are output to a dated named log file - IE every file that is copied and what / where it has been copied to is written in a log.
I have added this batch to the Scheduled Jobs in Windows (Accessories / System Tools) to run every Friday night.