I want to set up a personal (i.e. one user) Dropbox alternative using rsync, to keep some directories synchronized over several Unix hosts.
Since only one user (namely, me) will be changing the content of any one host at a time, it is safe to assume that these changes will not overlap in time. This means that
- a lag of 10-15 minutes between modification and synchronization is acceptable;
- modification time should be a reasonably good proxy for "current version".
All the rsync schemes I've come across for keeping multiple servers in synch work on a once-a-day synchronization schedule, for backup, say. Also, in these schemes typicall one host is the master, and the remaining ones mirror it, whereas in the situation I have in mind changes can occur in any one of the hosts.
Can someone point me to a tool or how-to on setting up rsync + ssh to do this sort of thing?