Date: Tue, 29 Mar 2005 16:25:51 +1000 From: Peter Jeremy <PeterJeremy@optushome.com.au> To: "Brian K. White" <brian@aljex.com>, freebsd-current@FreeBSD.ORG Subject: Re: Heads up: gtar gone from base system Message-ID: <20050329062550.GA69824@cirb503493.alcatel.com.au> In-Reply-To: <20050329041527.GA9586@VARK.MIT.EDU> References: <20050327223238.GA749@polands.org> <010401c53385$584a04c0$6800000a@venti> <20050329041527.GA9586@VARK.MIT.EDU>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2005-Mar-28 23:15:27 -0500, David Schultz wrote: >On Mon, Mar 28, 2005, Brian K. White wrote: >> > To move file hierarchies, use a command line like this: >> > >> > tar -cf - -C srcdir . | tar xpf - -C destdir >> >> Why not? >> Isn't that just a slight convenience for this?: >> cd srcdir ; tar cf - . |( cd destdir ; tar xpf - ) > >detsdir: No such file or directory. Brian missed a pair of parenthenis. The example should read: ( cd srcdir ; tar cf - . ) | ( cd destdir ; tar xpf - ) -- Peter Jeremy
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050329062550.GA69824>