I need a good way to sync a directory between my OSX 10.6 laptop and my Ubuntu Desktop. Dropbox would obviously be a great choice, however the directory I need to sync is owned by root on both machines and fixing the permissions would screw up the situation I have going. I was considering just writing my own script using rsync (which would indeed be fun) but I'm wondering if perhaps there is something a bit more robust out there. I've heard of Unison, but I don't know very much about it. Would that be a good option for me, or can you come up with something better? Thanks!
two easy answers, (and the same you've already mentioned):
Unison is a nice solution if you need to do two-way synchronization, and want to be able to resolve conflicts manually. It keeps a note of what was synchronized last time, so it knows if a file has been changed at both ends.
If you want a purely background solution that happens automatically (eg from
The fact that both ends are owned by root complicates things considerably, whether you're using
In one situation I have solved this by exporting the whole directory with the