Date: Mon, 28 Mar 2005 22:09:39 -0800 From: John-Mark Gurney <gurney_j@resnet.uoregon.edu> To: "Brian K. White" <brian@aljex.com>, freebsd-current@FreeBSD.ORG Subject: Re: Heads up: gtar gone from base system Message-ID: <20050329060939.GB37984@funkthat.com> 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
David Schultz wrote this message on Mon, Mar 28, 2005 at 23:15 -0500:
> 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.
then try:
(cd srcdir; tar cf - .) | (cd destdir; tar xpf - )
--
John-Mark Gurney Voice: +1 415 225 5579
"All that I will do, has been done, All that I have, has not."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050329060939.GB37984>
