[nzlug] Folder synchronization software

Scott Newton scottn at ihug.co.nz
Wed Aug 22 08:26:49 NZST 2007


On Monday, 20 August 2007 22:06:51 Craig Box wrote:
> > > rsync's --delete command line switch didn't work?
> >
> > rsync won't detect any conflicts, it'll just overwrite them.

That was the main problem. My wife and I used a shared folder and rather than 
literally sharing the folder I was looking for something that would keep them 
in sync so that the one acted as a backup of the other. It's not often we end 
up working on the same document but when it does happen it's really annoying 
to have your work just overwritten with rsync. Also deleted files 
get "restored" depending on which part of the rsync runs first. Ended up 
going with unision rather than iFolder as it can be easily run from cron. I 
can then check the output email to see if there are any conflicts. So all I 
have in cron is:

0 6,18 * * * unison -ui text -terse -batch /my/folder ssh://x@y//other/folder

Works like a charm.

Thanks
-- 
Regards
Scott Newton



More information about the NZLUG mailing list