Date: Tue, 15 Jul 2003 18:02:50 +0200 From: Per olof Ljungmark <peo@intersonic.se> To: freebsd-questions@freebsd.org Subject: Re: scp+find, a little help please Message-ID: <3F1425AA.1080506@intersonic.se> In-Reply-To: <6445542$10582835003f141fecbae881.58177731@config4.schlund.de> References: <6445542$10582835003f141fecbae881.58177731@config4.schlund.de>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F1425AA.1080506>