2 .\" Author: Lasse Collin
4 .\" This file has been put into the public domain.
5 .\" You can do whatever you want with this file.
7 .TH XZDEC 1 "2009-06-04" "Tukaani" "XZ Utils"
9 xzdec, lzmadec \- Small .xz and .lzma decompressors
20 is a liblzma-based decompression-only tool for
26 is intended to work as a drop-in replacement for
28 in the most common situations where a script has been written to use
29 .B "xz \-\-decompress \-\-stdout"
30 (and possibly a few other commonly used options) to decompress
44 To reduce the size of the executable,
46 doesn't support multithreading or localization, and doesn't read options from
50 doesn't support displaying intermediate progress information: sending
54 does nothing, but sending
56 terminates the process instead of displaying progress information.
59 .BR \-d ", " \-\-decompress ", " \-\-uncompress
64 supports only decompression.
71 never creates or removes any files.
73 .BR \-f ", " \-\-force
78 .BR \-c ", " \-\-stdout ", " \-\-to-stdout
83 always writes the decompressed data to standard output.
85 \fB\-M\fR \fIlimit\fR, \fB\-\-memory=\fIlimit
88 If this option is specified multiple times, the last one takes effect. The
90 can be specified in multiple ways:
95 can be an absolute value in bytes. Using an integer suffix like
97 can be useful. Example:
102 can be specified as a percentage of physical RAM. Example:
107 can be reset back to its default value (currently 40 % of physical RAM)
111 The memory usage limiting can be effectively disabled by setting
115 This isn't recommended. It's usually better to use, for example,
121 can be seen near the bottom of the output of the
125 .BR \-q ", " \-\-quiet
126 Specifying this once does nothing since
128 never displays any warnings or notices.
129 Specify this twice to suppress errors.
131 .BR \-Q ", " \-\-no-warn
136 never uses the exit status
139 .BR \-h ", " \-\-help
140 Display a help message and exit successfully.
142 .BR \-V ", " \-\-version
143 Display the version number of
155 doesn't have any warning messages like
157 has, thus the exit status
165 are not really that small. The size can be reduced further by dropping
166 features from liblzma at compile time, but that shouldn't usually be done
167 for executables distributed in typical non-embedded operating system
168 distributions. If you need a truly small
170 decompressor, consider using XZ Embedded.
171 .\" TODO: Provide URL to XZ Embedded.