1LZIP(1) User Commands LZIP(1)
2
3
4
6 lzip - reduces the size of files
7
9 lzip [options] [files]
10
12 Lzip is a lossless data compressor with a user interface similar to the
13 one of gzip or bzip2. Lzip uses a simplified form of the 'Lem‐
14 pel-Ziv-Markov chain-Algorithm' (LZMA) stream format, chosen to maxi‐
15 mize safety and interoperability. Lzip can compress about as fast as
16 gzip (lzip -0) or compress most files more than bzip2 (lzip -9). Decom‐
17 pression speed is intermediate between gzip and bzip2. Lzip is better
18 than gzip and bzip2 from a data recovery perspective. Lzip has been de‐
19 signed, written, and tested with great care to replace gzip and bzip2
20 as the standard general-purpose compressed format for unix-like sys‐
21 tems.
22
24 -h, --help
25 display this help and exit
26
27 -V, --version
28 output version information and exit
29
30 -a, --trailing-error
31 exit with error status if trailing data
32
33 -b, --member-size=<bytes>
34 set member size limit in bytes
35
36 -c, --stdout
37 write to standard output, keep input files
38
39 -d, --decompress
40 decompress
41
42 -f, --force
43 overwrite existing output files
44
45 -F, --recompress
46 force re-compression of compressed files
47
48 -k, --keep
49 keep (don't delete) input files
50
51 -l, --list
52 print (un)compressed file sizes
53
54 -m, --match-length=<bytes>
55 set match length limit in bytes [36]
56
57 -o, --output=<file>
58 write to <file>, keep input files
59
60 -q, --quiet
61 suppress all messages
62
63 -s, --dictionary-size=<bytes>
64 set dictionary size limit in bytes [8 MiB]
65
66 -S, --volume-size=<bytes>
67 set volume size limit in bytes
68
69 -t, --test
70 test compressed file integrity
71
72 -v, --verbose
73 be verbose (a 2nd -v gives more)
74
75 -0 .. -9
76 set compression level [default 6]
77
78 --fast alias for -0
79
80 --best alias for -9
81
82 --loose-trailing
83 allow trailing data seeming corrupt header
84
85 If no file names are given, or if a file is '-', lzip compresses or de‐
86 compresses from standard input to standard output. Numbers may be fol‐
87 lowed by a multiplier: k = kB = 10^3 = 1000, Ki = KiB = 2^10 = 1024, M
88 = 10^6, Mi = 2^20, G = 10^9, Gi = 2^30, etc... Dictionary sizes 12 to
89 29 are interpreted as powers of two, meaning 2^12 to 2^29 bytes.
90
91 The bidimensional parameter space of LZMA can't be mapped to a linear
92 scale optimal for all files. If your files are large, very repetitive,
93 etc, you may need to use the options --dictionary-size and
94 --match-length directly to achieve optimal performance.
95
96 To extract all the files from archive 'foo.tar.lz', use the commands
97 'tar -xf foo.tar.lz' or 'lzip -cd foo.tar.lz | tar -xf -'.
98
99 Exit status: 0 for a normal exit, 1 for environmental problems (file
100 not found, invalid flags, I/O errors, etc), 2 to indicate a corrupt or
101 invalid input file, 3 for an internal consistency error (eg, bug) which
102 caused lzip to panic.
103
104 The ideas embodied in lzip are due to (at least) the following people:
105 Abraham Lempel and Jacob Ziv (for the LZ algorithm), Andrey Markov (for
106 the definition of Markov chains), G.N.N. Martin (for the definition of
107 range encoding), Igor Pavlov (for putting all the above together in
108 LZMA), and Julian Seward (for bzip2's CLI).
109
111 Report bugs to lzip-bug@nongnu.org
112 Lzip home page: http://www.nongnu.org/lzip/lzip.html
113
115 Copyright © 2021 Antonio Diaz Diaz. License GPLv2+: GNU GPL version 2
116 or later <http://gnu.org/licenses/gpl.html>
117 This is free software: you are free to change and redistribute it.
118 There is NO WARRANTY, to the extent permitted by law.
119
121 The full documentation for lzip is maintained as a Texinfo manual. If
122 the info and lzip programs are properly installed at your site, the
123 command
124
125 info lzip
126
127 should give you access to the complete manual.
128
129
130
131lzip 1.22 January 2021 LZIP(1)