best way to synchronize laptop and server?
Christopher Browne
cbbrowne-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Wed Oct 19 18:35:13 UTC 2005
On 10/19/05, Evan Leibovitch <evan-ieNeDk6JonTYtjvyW6yDsg at public.gmane.org> wrote:
> I have a laptop and a server, both running current Mandriva, and want
> top be able to synchronize two directory hierarchies.
> After a while of the laptop being disconnected from the network, when I
> reconnect I can make sure that both systems contain current versions of
> files in these hierarchies.
>
> When connected to the network, the laptop mounts the server directories
> using SMB (it's a mixed-client network).
>
> There must be a better way to do this than `cpio -p`. Freshmeat has a
> number of projects listed that seem to suit, but I'd like to know what
> people here are using.
There are two approaches to this:
1. Use some SCM system, like CVS, Subversion, Darcs, Arch, or such.
2. The notable two-way file synchronizer is called Unison
<http://www.cis.upenn.edu/~bcpierce/unison/index.html>
Default behaviour is for it to list changes on each side, show the
expected direction of propagation, and let you control what to do.
You can also submit command line options to make it perform specific
default behaviours...
--
http://www3.sympatico.ca/cbbrowne/linux.html
"The true measure of a man is how he treats someone who can do him
absolutely no good." -- Samuel Johnson, lexicographer (1709-1784)
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list