From owner-freebsd-questions@FreeBSD.ORG Tue Jul 15 09:03:00 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C97EA37B401 for ; Tue, 15 Jul 2003 09:03:00 -0700 (PDT) Received: from as9-2-1.bi.s.bonet.se (as9-2-1.bi.s.bonet.se [217.215.7.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 826FA43FAF for ; Tue, 15 Jul 2003 09:02:59 -0700 (PDT) (envelope-from peo@intersonic.se) Received: by as9-2-1.bi.s.bonet.se (Postfix, from userid 1003) id E857D49697D; Tue, 15 Jul 2003 18:02:53 +0200 (CEST) Message-ID: <3F1425AA.1080506@intersonic.se> Date: Tue, 15 Jul 2003 18:02:50 +0200 From: Per olof Ljungmark Organization: Intersonic AB User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20030707 X-Accept-Language: en-us, en, sv MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <6445542$10582835003f141fecbae881.58177731@config4.schlund.de> In-Reply-To: <6445542$10582835003f141fecbae881.58177731@config4.schlund.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-103.0 required=4.8 tests=AWL,BAYES_30,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_MOZILLA_UA,USER_IN_WHITELIST version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) X-Sanitizer: Advosys mail filter Subject: Re: scp+find, a little help please X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jul 2003 16:03:01 -0000 > Erm, newer than *what*? find needs a file as a comparison parameter to > detetermine whether another file is newer than it or not. I assume you > mean you want to copy only files from host1 to host2 which exist on both > machines, with host1 potentially holding newer versions that should get > synchronized to host2. > > Before you break your neck with (absolutely well possible) scripting > solutions, I suggest you have a look at rsync, which uses SSH for > transport by default now as well. > Or maybe check out rdiff-backup, of which a port has just been submitted > (AFAIK) if a backup is what you're after: > Last time I looked at rsync it did not create new directories, perhaps that changed? Or maybe I'm completely wrong... I'll have a look at rdiff then. But as you say, it should be perfectly possible with scp too - Thanks,