From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 27 04:39:50 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 76CB916A4DA for ; Thu, 27 Jul 2006 04:39:50 +0000 (UTC) (envelope-from fullermd@over-yonder.net) Received: from mail.localelinks.com (web.localelinks.com [64.39.75.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2BFC243D55 for ; Thu, 27 Jul 2006 04:39:49 +0000 (GMT) (envelope-from fullermd@over-yonder.net) Received: from draco.over-yonder.net (adsl-072-148-013-213.sip.jan.bellsouth.net [72.148.13.213]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.localelinks.com (Postfix) with ESMTP id DC974E9; Wed, 26 Jul 2006 23:39:48 -0500 (CDT) Received: by draco.over-yonder.net (Postfix, from userid 100) id 2548761C2B; Wed, 26 Jul 2006 23:39:48 -0500 (CDT) Date: Wed, 26 Jul 2006 23:39:48 -0500 From: "Matthew D. Fuller" To: Julian Elischer Message-ID: <20060727043948.GE69505@over-yonder.net> References: <44C82A40.3020009@centtech.com> <44C83831.5050900@elischer.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44C83831.5050900@elischer.org> X-Editor: vi X-OS: FreeBSD User-Agent: Mutt/1.5.11-fullermd.3 Cc: FreeBSD Hackers Subject: Re: [PATCH] adding two new options to 'cp' X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jul 2006 04:39:50 -0000 On Wed, Jul 26, 2006 at 08:51:13PM -0700 I heard the voice of Julian Elischer, and lo! it spake thus: > > I've always used: > find . -depth |cpio -pdlmv $dest While we're in workarounds, I fake with: % cat ~/bin/tarcp.sh #!/bin/sh cmd1="tar -cf - -C $1 ." cmd2="tar -xvpf - -C $2" echo "$cmd1 | $cmd2" $cmd1 | $cmd2 (which has the twin advantages of telling me what it's doing as it goes, and using two processes so it can pound source and dest disks in full parallel) -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream.