monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] Syncing databases without using a network?


From: Christof Petig
Subject: Re: [Monotone-devel] Syncing databases without using a network?
Date: Wed, 25 Jan 2006 18:03:19 +0100
User-agent: Mail/News 1.5 (X11/20060119)

Jeronimo Pellegrini wrote:
> Hello.
> I've been using monotone for several months now (and I'm quite happy
> with it), and there's one thing that I would like to suggest:
> 
> Since I keep several copies of a database in different places (laptop,
> desktop, USB stick, etc), I usually want to sync them -- but not
> necessarily over a network. I don't know of any tool that would
> sync two databases accessing the filesystem directly, and perhaps
> it would be a nice thing to have shipped with monotone?
> Something like:
> 
> monotone-sync databaseA.db databaseB.db

here you are (untested) ...

--------------->8------------------
#!/bin/sh
monotone -d $1 serve --bind localhost serve \* &
monotone -d $2 pull localhost \*
kill %monotone
---------------------------------

This has mostly been sufficient for monotone's users.

   Christof


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]