Welcome to WebmasterWorld Guest from 184.108.40.206
Forum Moderators: travelin cat
You could do a multi-pass script, or jsut go for a single pass master/slave.
rsyc has a mutitude of options: check them with either
$ rsync --help
$ man rsync
I'm sure it can be automated on plug-in as well.
$ rsync --recursive --times --update --delete ~/Desktop/sync /Volumes/REMOVABLE
To see what it's doing add --verbose, to see what it would do, without doing it, also add --dry-run
It'll only copy the parts of the files that are needed.
To do a two way sync you need some more of the options and really understand the impact of what you do. Esp deleting files is tricky as you need to decide if a file is either deleted, or either added on the other store.
Hence to do a full two way sync with deletes requires stats to be kept to at least determine the time it was last run and clocks being set appropriately.
Still, a simple script could achieve it.