[PLUG] Unison/rsync/git for three way file sync
derek
drl at drloree.com
Thu Jan 19 05:21:31 UTC 2012
On Mon, 2012-01-16 at 13:09 -0800, Keith Lofstrom wrote:
> My wife is now regularly using three different linux machines;
> her laptop, her work desktop, and the mail server here. I
> am thinking of some way to share a small directory of work
> files between all three machines, without depending on a
> remotely mounted filesystem (the machines can be connected,
> but often are not).
>
> One possibility is a hacked version of rsync/unison
> (www.cis.upenn.edu/~bcpierce/unison/) which uses rsync
> twice to syncronize pairs of directories. Three directories
> would require 6 rsyncs using the mail server as a hub.
> It would be nice to include something that works like
> a trash bin. If she moves a file to the trash directory,
> the syncing process would figure that out and move the
> file to the trash on the other machines, and erase trash
> files on the rest when they were erased on the first.
>
> Another possibility is using a wrapper aroung git. That
> has the behavior I want (including harmonizing versions
> with asynchronous changes), but git itself is a little
> daunting for the average non-geek.
>
> Perhaps there are other ideas. Again, the work desktop
> and the laptop will not always be able to mount a remote
> directory on the mail server for access to work files.
> The laptop might go to Waldo Lake, but not the internet.
Sounds like you are looking for a version control distributed file
system. I found this one:
http://www.openafs.org/
I haven't tried it yet, but I plan on it.
>
> Keith
>
More information about the PLUG
mailing list