Re: Heads up: gtar gone from base system

From: John-Mark Gurney <gurney_j_at_resnet.uoregon.edu>
Date: Mon, 28 Mar 2005 22:09:39 -0800
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."
Received on Tue Mar 29 2005 - 04:09:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:30 UTC