Heads up: gtar gone from base system

Tim Kientzle kientzle at freebsd.org
Mon Apr 4 22:26:25 PDT 2005


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



More information about the freebsd-current mailing list