Saturday, March 26, 2005

unison


I have been using unison to synchronize files between my computers where the the files may change on any of the computers.  It is very similar to rsync, but it allows two way synchronization.


I use this to synchronize our iPhoto library between our two laptops.  From each laptop, I run unison to synchronize the iPhoto library to our linux sever (via ssh).  Since this is a two way synchronization, all of the laptops have access to the same iPhoto library.  (I generally do all additions to the iPhoto library on one of the laptops, so I don't have to deal with potential conflicts.)





In addition to this being a way to synchronize our photos, it works as a backup.  Now two of our laptops could die, and we wouldn't lose our photos.