diff options
author | Antonio Diaz Diaz <ant_diaz@teleline.es> | 2010-03-02 18:41:41 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2010-03-02 18:44:25 +0200 |
commit | bffe1074aab0bd180b6b522f07f951f73ef59191 (patch) | |
tree | 20d10d7f86373eb6f8254d8c49a689b8d5bc3329 /doc/tar.texi | |
parent | 9a3e8a6f4374901c386821a0e08184f369141df4 (diff) | |
download | tar-bffe1074aab0bd180b6b522f07f951f73ef59191.tar.gz |
Add Lzip support
* configure.ac: Add TAR_COMPR_PROGRAM(lzip)
* doc/tar.texi: Reflect lzip support.
* src/buffer.c (compress_type) <ct_lzip>: New constant.
(magic): Add magic for lzip.
* src/suffix.c (compression_suffixes): Add lz.
* src/tar.c: New option --lzip.
Diffstat (limited to 'doc/tar.texi')
-rw-r--r-- | doc/tar.texi | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/doc/tar.texi b/doc/tar.texi index abc81df3..ed8e5264 100644 --- a/doc/tar.texi +++ b/doc/tar.texi @@ -2820,6 +2820,12 @@ backup, using @var{snapshot-file} to determine which files to backup. With other operations, informs @command{tar} that the archive is in incremental format. @xref{Incremental Dumps}. +@opsummary{lzip} +@item --lzip + +This option tells @command{tar} to read or write archives through +@command{lzip}. @xref{gzip}. + @opsummary{lzma} @item --lzma @@ -8628,21 +8634,23 @@ switch to @samp{posix}. @cindex gzip @cindex bzip2 +@cindex lzip @cindex lzma @cindex lzop @cindex compress @GNUTAR{} is able to create and read compressed archives. It supports -@command{gzip}, @command{bzip2}, @command{lzma} and @command{lzop} compression -programs. For backward compatibility, it also supports -@command{compress} command, although we strongly recommend against -using it, because it is by far less effective than other compression -programs@footnote{It also had patent problems in the past.}. +@command{gzip}, @command{bzip2}, @command{lzip}, @command{lzma} and +@command{lzop} compression programs. For backward compatibility, it +also supports @command{compress} command, although we strongly recommend +against using it, because it is by far less effective than other +compression programs@footnote{It also had patent problems in the past.}. Creating a compressed archive is simple: you just specify a @dfn{compression option} along with the usual archive creation commands. The compression option is @option{-z} (@option{--gzip}) to create a @command{gzip} compressed archive, @option{-j} (@option{--bzip2}) to create a @command{bzip2} compressed archive, +@option{--lzip} to create an @asis{lzip} compressed archive, @option{-J} (@option{--xz}) to create an @asis{XZ} archive, @option{--lzma} to create an @asis{LZMA} compressed archive, @option{--lzop} to create an @asis{LSOP} archive, and @@ -8739,6 +8747,7 @@ suffix. The following suffixes are recognized: @item @samp{.tz2} @tab @command{bzip2} @item @samp{.tbz2} @tab @command{bzip2} @item @samp{.tbz} @tab @command{bzip2} +@item @samp{.lz} @tab @command{lzip} @item @samp{.lzma} @tab @command{lzma} @item @samp{.tlz} @tab @command{lzma} @item @samp{.lzo} @tab @command{lzop} @@ -8796,6 +8805,10 @@ Filter the archive through @code{xz}. Otherwise like @itemx --bzip2 Filter the archive through @code{bzip2}. Otherwise like @option{--gzip}. +@opindex lzip +@item --lzip +Filter the archive through @command{lzip}. Otherwise like @option{--gzip}. + @opindex lzma @item --lzma Filter the archive through @command{lzma}. Otherwise like @option{--gzip}. |