Re: Heads up: gtar gone from base system

From: Peter Jeremy <PeterJeremy_at_optushome.com.au>
Date: Tue, 29 Mar 2005 16:25:51 +1000
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
Received on Tue Mar 29 2005 - 04:25:59 UTC

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