Thanks for the hints

I was thinking about the second solution (add it) (and indeed, I was too
wondering which letter could still be available for it, but ok, a long
command --lz4 is a nice backup).

The first solution
./configure --with-gzip=lz4
is an interesting intermediate step that I was not aware of,
although it seems to entirely remove gzip support from command line.
>From my point of view, lz4 does not "replace" gzip. It's very useful for
many transmission jobs I do, short-lived traces, log files, and so on, but
the stronger compression ratio of gzip will sound preferable for some other
usages.


Regards



On Tue, Oct 1, 2013 at 9:12 PM, Sergey Poznyakoff <g...@gnu.org.ua> wrote:

> Adam Erikssen <adam.eriks...@gmail.com> ha escrit:
>
> > Considering that lz4 seems fully compatible with gzip, would it be
> > possible to add lz4 to the list of available compressors within the tar
> > command line ?
>
> Do you propose to use it instead of gzip?  You can do it using
> the --with-gzip option while configuring GNU tar:
>
>  ./configure --with-gzip=lz4 [...]
>
> On the other hand, if you propose to add it as an additional
> complressor, then of course it is possible.  Note, however, that we are
> out of short command line options, so the only possibility is --lz4.
>
> In the meantime, instead of
>
> > tar -c [files] | gzip > archive.tar.gz
>
> you can do this:
>
> tat -c -f archive.tar.gz -Ilz4 [...]
>
> Regards,
> Sergey
>

Reply via email to