Heads up: gtar gone from base system
Peter Jeremy
PeterJeremy at optushome.com.au
Mon Mar 28 22:25:59 PST 2005
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
More information about the freebsd-current
mailing list