2025-02-17 20:49:03 +01:00
|
|
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.16.
|
|
|
|
.TH CLZIP "1" "January 2021" "clzip 1.12" "User Commands"
|
2025-02-17 18:33:31 +01:00
|
|
|
.SH NAME
|
2025-02-17 20:33:18 +01:00
|
|
|
clzip \- reduces the size of files
|
2025-02-17 18:33:31 +01:00
|
|
|
.SH SYNOPSIS
|
|
|
|
.B clzip
|
2025-02-17 20:34:41 +01:00
|
|
|
[\fI\,options\/\fR] [\fI\,files\/\fR]
|
2025-02-17 18:33:31 +01:00
|
|
|
.SH DESCRIPTION
|
2025-02-17 20:46:28 +01:00
|
|
|
Clzip is a C language version of lzip, fully compatible with lzip 1.4 or
|
|
|
|
newer. As clzip is written in C, it may be easier to integrate in
|
2025-02-17 20:49:03 +01:00
|
|
|
applications like package managers, embedded devices, or systems lacking a
|
|
|
|
C++ compiler.
|
2025-02-17 20:46:28 +01:00
|
|
|
.PP
|
2025-02-17 20:49:03 +01:00
|
|
|
Lzip is a lossless data compressor with a user interface similar to the one
|
|
|
|
of gzip or bzip2. Lzip uses a simplified form of the 'Lempel\-Ziv\-Markov
|
|
|
|
chain\-Algorithm' (LZMA) stream format, chosen to maximize safety and
|
|
|
|
interoperability. Lzip can compress about as fast as gzip (lzip \fB\-0\fR) or
|
|
|
|
compress most files more than bzip2 (lzip \fB\-9\fR). Decompression speed is
|
|
|
|
intermediate between gzip and bzip2. Lzip is better than gzip and bzip2 from
|
|
|
|
a data recovery perspective. Lzip has been designed, written, and tested
|
|
|
|
with great care to replace gzip and bzip2 as the standard general\-purpose
|
|
|
|
compressed format for unix\-like systems.
|
2025-02-17 18:33:31 +01:00
|
|
|
.SH OPTIONS
|
|
|
|
.TP
|
|
|
|
\fB\-h\fR, \fB\-\-help\fR
|
|
|
|
display this help and exit
|
|
|
|
.TP
|
|
|
|
\fB\-V\fR, \fB\-\-version\fR
|
|
|
|
output version information and exit
|
|
|
|
.TP
|
2025-02-17 20:42:01 +01:00
|
|
|
\fB\-a\fR, \fB\-\-trailing\-error\fR
|
|
|
|
exit with error status if trailing data
|
|
|
|
.TP
|
2025-02-17 19:22:56 +01:00
|
|
|
\fB\-b\fR, \fB\-\-member\-size=\fR<bytes>
|
2025-02-17 18:33:31 +01:00
|
|
|
set member size limit in bytes
|
|
|
|
.TP
|
|
|
|
\fB\-c\fR, \fB\-\-stdout\fR
|
2025-02-17 20:42:01 +01:00
|
|
|
write to standard output, keep input files
|
2025-02-17 18:33:31 +01:00
|
|
|
.TP
|
|
|
|
\fB\-d\fR, \fB\-\-decompress\fR
|
|
|
|
decompress
|
|
|
|
.TP
|
|
|
|
\fB\-f\fR, \fB\-\-force\fR
|
|
|
|
overwrite existing output files
|
|
|
|
.TP
|
2025-02-17 19:17:02 +01:00
|
|
|
\fB\-F\fR, \fB\-\-recompress\fR
|
2025-02-17 20:40:42 +01:00
|
|
|
force re\-compression of compressed files
|
2025-02-17 19:17:02 +01:00
|
|
|
.TP
|
2025-02-17 18:33:31 +01:00
|
|
|
\fB\-k\fR, \fB\-\-keep\fR
|
|
|
|
keep (don't delete) input files
|
|
|
|
.TP
|
2025-02-17 20:43:51 +01:00
|
|
|
\fB\-l\fR, \fB\-\-list\fR
|
|
|
|
print (un)compressed file sizes
|
|
|
|
.TP
|
2025-02-17 19:22:56 +01:00
|
|
|
\fB\-m\fR, \fB\-\-match\-length=\fR<bytes>
|
2025-02-17 19:15:56 +01:00
|
|
|
set match length limit in bytes [36]
|
2025-02-17 18:33:31 +01:00
|
|
|
.TP
|
|
|
|
\fB\-o\fR, \fB\-\-output=\fR<file>
|
2025-02-17 20:49:03 +01:00
|
|
|
write to <file>, keep input files
|
2025-02-17 18:33:31 +01:00
|
|
|
.TP
|
|
|
|
\fB\-q\fR, \fB\-\-quiet\fR
|
|
|
|
suppress all messages
|
|
|
|
.TP
|
2025-02-17 19:22:56 +01:00
|
|
|
\fB\-s\fR, \fB\-\-dictionary\-size=\fR<bytes>
|
2025-02-17 20:28:13 +01:00
|
|
|
set dictionary size limit in bytes [8 MiB]
|
2025-02-17 18:33:31 +01:00
|
|
|
.TP
|
2025-02-17 19:22:56 +01:00
|
|
|
\fB\-S\fR, \fB\-\-volume\-size=\fR<bytes>
|
2025-02-17 20:46:28 +01:00
|
|
|
set volume size limit in bytes
|
2025-02-17 18:33:31 +01:00
|
|
|
.TP
|
|
|
|
\fB\-t\fR, \fB\-\-test\fR
|
|
|
|
test compressed file integrity
|
|
|
|
.TP
|
|
|
|
\fB\-v\fR, \fB\-\-verbose\fR
|
|
|
|
be verbose (a 2nd \fB\-v\fR gives more)
|
|
|
|
.TP
|
2025-02-17 20:38:24 +01:00
|
|
|
\fB\-0\fR .. \fB\-9\fR
|
2025-02-17 18:33:31 +01:00
|
|
|
set compression level [default 6]
|
|
|
|
.TP
|
|
|
|
\fB\-\-fast\fR
|
2025-02-17 20:38:24 +01:00
|
|
|
alias for \fB\-0\fR
|
2025-02-17 18:33:31 +01:00
|
|
|
.TP
|
|
|
|
\fB\-\-best\fR
|
|
|
|
alias for \fB\-9\fR
|
2025-02-17 20:45:15 +01:00
|
|
|
.TP
|
|
|
|
\fB\-\-loose\-trailing\fR
|
|
|
|
allow trailing data seeming corrupt header
|
2025-02-17 18:33:31 +01:00
|
|
|
.PP
|
2025-02-17 20:42:01 +01:00
|
|
|
If no file names are given, or if a file is '\-', clzip compresses or
|
|
|
|
decompresses from standard input to standard output.
|
2025-02-17 18:33:31 +01:00
|
|
|
Numbers may be followed by a multiplier: k = kB = 10^3 = 1000,
|
|
|
|
Ki = KiB = 2^10 = 1024, M = 10^6, Mi = 2^20, G = 10^9, Gi = 2^30, etc...
|
2025-02-17 20:42:01 +01:00
|
|
|
Dictionary sizes 12 to 29 are interpreted as powers of two, meaning 2^12
|
|
|
|
to 2^29 bytes.
|
|
|
|
.PP
|
2025-02-17 19:22:56 +01:00
|
|
|
The bidimensional parameter space of LZMA can't be mapped to a linear
|
|
|
|
scale optimal for all files. If your files are large, very repetitive,
|
2025-02-17 20:49:03 +01:00
|
|
|
etc, you may need to use the options \fB\-\-dictionary\-size\fR and \fB\-\-match\-length\fR
|
|
|
|
directly to achieve optimal performance.
|
|
|
|
.PP
|
|
|
|
To extract all the files from archive 'foo.tar.lz', use the commands
|
|
|
|
\&'tar \fB\-xf\fR foo.tar.lz' or 'clzip \fB\-cd\fR foo.tar.lz | tar \fB\-xf\fR \-'.
|
2025-02-17 20:18:50 +01:00
|
|
|
.PP
|
|
|
|
Exit status: 0 for a normal exit, 1 for environmental problems (file
|
|
|
|
not found, invalid flags, I/O errors, etc), 2 to indicate a corrupt or
|
|
|
|
invalid input file, 3 for an internal consistency error (eg, bug) which
|
|
|
|
caused clzip to panic.
|
2025-02-17 20:49:03 +01:00
|
|
|
.PP
|
|
|
|
The ideas embodied in clzip are due to (at least) the following people:
|
|
|
|
Abraham Lempel and Jacob Ziv (for the LZ algorithm), Andrey Markov (for the
|
|
|
|
definition of Markov chains), G.N.N. Martin (for the definition of range
|
|
|
|
encoding), Igor Pavlov (for putting all the above together in LZMA), and
|
|
|
|
Julian Seward (for bzip2's CLI).
|
2025-02-17 18:33:31 +01:00
|
|
|
.SH "REPORTING BUGS"
|
|
|
|
Report bugs to lzip\-bug@nongnu.org
|
2025-02-17 18:44:16 +01:00
|
|
|
.br
|
2025-02-17 18:33:31 +01:00
|
|
|
Clzip home page: http://www.nongnu.org/lzip/clzip.html
|
|
|
|
.SH COPYRIGHT
|
2025-02-17 20:49:03 +01:00
|
|
|
Copyright \(co 2021 Antonio Diaz Diaz.
|
2025-02-17 20:33:55 +01:00
|
|
|
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
|
2025-02-17 18:33:31 +01:00
|
|
|
.br
|
|
|
|
This is free software: you are free to change and redistribute it.
|
|
|
|
There is NO WARRANTY, to the extent permitted by law.
|
|
|
|
.SH "SEE ALSO"
|
|
|
|
The full documentation for
|
2025-02-17 20:33:18 +01:00
|
|
|
.B clzip
|
2025-02-17 18:33:31 +01:00
|
|
|
is maintained as a Texinfo manual. If the
|
|
|
|
.B info
|
|
|
|
and
|
2025-02-17 20:33:18 +01:00
|
|
|
.B clzip
|
2025-02-17 18:33:31 +01:00
|
|
|
programs are properly installed at your site, the command
|
|
|
|
.IP
|
2025-02-17 20:33:18 +01:00
|
|
|
.B info clzip
|
2025-02-17 18:33:31 +01:00
|
|
|
.PP
|
|
|
|
should give you access to the complete manual.
|