From owner-freebsd-current@FreeBSD.ORG Tue Mar 29 07:12:35 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 93F8616A4CE for ; Tue, 29 Mar 2005 07:12:35 +0000 (GMT) Received: from bizet.nethelp.no (bizet.nethelp.no [195.1.209.33]) by mx1.FreeBSD.org (Postfix) with SMTP id 1E14743D39 for ; Tue, 29 Mar 2005 07:12:34 +0000 (GMT) (envelope-from sthaug@nethelp.no) Received: (qmail 12940 invoked by uid 1001); 29 Mar 2005 07:12:32 -0000 To: brian@aljex.com From: sthaug@nethelp.no In-Reply-To: Your message of "Tue, 29 Mar 2005 01:56:14 -0500" References: <02e501c5342c$75bca5b0$6800000a@venti> X-Mailer: Mew version 1.05+ on Emacs 19.34.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Date: Tue, 29 Mar 2005 09:12:32 +0200 Message-ID: <12938.1112080352@bizet.nethelp.no> cc: freebsd-current@FreeBSD.ORG Subject: Re: Heads up: gtar gone from base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 07:12:35 -0000 > > Brian missed a pair of parenthenis. The example should read: > > > > ( cd srcdir ; tar cf - . ) | ( cd destdir ; tar xpf - ) > > All the first perens does is leave you sitting wherever you were before > starting, whereas my example would have left you sitting in srcdir. > It makes no functional difference in the tar/untar job itself. > > In truth, my example was from something I do all the time on SCO and is in > sco's tar man page but it's such basic shell and tar usage that it works the > same everywhere. I do it on Linux and FreeBSD too and I just verified on a > 5.3 box just to make sure instead of relying on memory and common sense. It's still in my fingers too, used it for many years. Lately I have been using cp -pR for the same job. Steinar Haug, Nethelp consulting, sthaug@nethelp.no