Paul W. Abrahams wrote:
I'm looking for a utility to be used for a disk-to-disk backup that recurses through a directory and does the following for each file and subdirectory:
1. If the backup file exists but the original doesn't, the backup is deleted.
2. If the backup file exists and is as new as the original, no copying is done.
3. If the backup file does not exist, the original is copied to the backup.
I could certainly write a shell script using "find" for doing this, but I wonder if there's some handy-dandy utility around that already does it for me.
I know everybody's been recommending rsync, but I might suggest that you also look at unison (http://www.cis.upenn.edu/~bcpierce/unison/index.html - it's also included with SuSE). I've found it very easy to use. Steve