Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Apr 2005 22:25:49 -0700
From:      Tim Kientzle <kientzle@freebsd.org>
To:        "Brian K. White" <brian@aljex.com>
Cc:        current@freebsd.org
Subject:   Re: Heads up: gtar gone from base system
Message-ID:  <4252215D.7090303@freebsd.org>
In-Reply-To: <00b701c538ed$25a7b680$6800000a@venti>
References:  <4243B57D.5050204@freebsd.org><200503261636.j2QGa2ZI055013@gate.bitblocks.com> <20050404002141.2819f386@dolphin.local.net> <00b701c538ed$25a7b680$6800000a@venti>

next in thread | previous in thread | raw e-mail | index | archive | help
Brian K. White wrote:
> 
>> tar: unrecognized option `--use-compress-program=gunzip'
> 
> It is a generically useful option though, being able to specify an 
> arbitrary compress program ...

If you're going to specify the compress/decompress program
manually, just use a pipe:

   <decompress program> | tar <options> <files>

is both shorter and more portable.  (Assuming, of course,
that you don't need accurate blocking.  If you do,
adding "dd" to the beginning of that line is a modest
complication. ;-)

Tim



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4252215D.7090303>