From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1M0Nat-0007Vp-RY for garchives@archives.gentoo.org; Sat, 02 May 2009 22:22:04 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 162C6E03AC; Sat, 2 May 2009 22:22:02 +0000 (UTC) Received: from mail-ew0-f165.google.com (mail-ew0-f165.google.com [209.85.219.165]) by pigeon.gentoo.org (Postfix) with ESMTP id CEB7BE03AC for ; Sat, 2 May 2009 22:22:01 +0000 (UTC) Received: by ewy9 with SMTP id 9so2680464ewy.34 for ; Sat, 02 May 2009 15:22:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; bh=T+n7wMQqXnYJQGZIhetaZ6uMyIiX8r4KDq4g4Y+V5HA=; b=eY2UaIbTIRTcVuKgzvEjrlXoUkAHfa/JAJIHg5MWBN0+wAKX9BsAqITYYeiicQRshT nANoWpnbGuR7iRG8pEJHCicdN1ZBc5HTufo26tN8Abg1PA370F8B5oWET9uKSvJvjqmX r8j+LlCbsIs9wsozF09gnvK/BTiiiaI1ry7N8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :message-id; b=cVK5wpq5pfBeJh1LuV9F5Rb0NXt8V2PsFXXFFBLynyMLHOwfrwrbk+40pe+f1fTRma 1imFO2+Gk7If7T72iJFMKtFKASrTkfISOekgH0+3hU9wWsoZX4PMyxQRDwQF670IHTAr BIXrbSewFzhZsEbtas+OCfVfZW9rgIPGG6zPs= Received: by 10.210.116.14 with SMTP id o14mr750834ebc.33.1241302921296; Sat, 02 May 2009 15:22:01 -0700 (PDT) Received: from nazgul.localnet (196-210-140-95-rrdg-esr-2.dynamic.isadsl.co.za [196.210.140.95]) by mx.google.com with ESMTPS id 23sm8251037eya.19.2009.05.02.15.22.00 (version=SSLv3 cipher=RC4-MD5); Sat, 02 May 2009 15:22:00 -0700 (PDT) From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] sync'ing two computers (not related to emerge) Date: Sun, 3 May 2009 00:20:24 +0200 User-Agent: KMail/1.11.2 (Linux/2.6.29-gentoo-r1; KDE/4.2.2; x86_64; ; ) References: <5f14cf5e0905021433g1a70d981i8dd60c8254491d6c@mail.gmail.com> In-Reply-To: <5f14cf5e0905021433g1a70d981i8dd60c8254491d6c@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200905030020.24585.alan.mckinnon@gmail.com> X-Archives-Salt: 0fc1c172-d08d-4e46-88b9-24a76bc12bab X-Archives-Hash: b00b1b48bbbf3151bf12991c07c87d51 On Saturday 02 May 2009 23:33:38 Simon wrote: > hi there! > I've been using unison to synchronise and backup my computers. unison is > based on rsync IIRC but with the difference that it 'remembers' the state > of the folder that was synchronised. This way, if I delete a file on A, > when sync'ing it will be deleted on B. While rsync would leave the file on > B... I assume you are syncing from A to B? In that case you should look at the various --delete* options to rsync > I see rsync as a very good 'cp' program, but I need something that can > deal with conflicts (file changed on both hosts/directories) and can > propagate changes like deletes properly. Is there a way to get this > behavior with rsync (maybe i missed something)? This cannot be done with rsync. It's very much an efficient scp replacement that works with deltas. And there is a definite source and destination, what you are describing is like how source repos work > The reason i'm asking is that unison has been having problems recently in > sync'ing two pc... On my laptop, when i start the sync, it first checks it > for changes against the 'unison snapshot'. Changes done since last sync > are those that will be propagated. But it takes so long to check for > changes (disk input rate is too slow i think) that once it finished, when > it's time to send the changes to the remote server, the remote end has > already disconnected! Surely unison has a --timeout or similar option? rsync has it, and it's such an obviously needed config option -- alan dot mckinnon at gmail dot com