Rechercher une page de manuel

Chercher une autre page de manuel:


Langue: en

Autres versions - même langue

Version: 336592 (ubuntu - 24/10/10)

Section: 1 (Commandes utilisateur)


lbzip2 - parallel bzip2 utility


lbzip2|bzip2 [-n WTHRS] [-k|-c|-t] [-d] [-1 .. -9] [-f] [-v] [-S] [ FILE ... ]

lbunzip2|bunzip2 [-n WTHRS] [-k|-c|-t] [-z] [-f] [-v] [-S] [ FILE ... ]

lbzcat|bzcat [-n WTHRS] [-z] [-f] [-v] [-S] [ FILE ... ]

lbzip2|bzip2|lbunzip2|bunzip2|lbzcat|bzcat -h


Compress or decompress FILE operands or standard input to regular files or standard output, by calling Julian Seward's libbz2 from multiple threads. The lbzip2 utility employs multiple threads and an input-bound splitter even when decompressing .bz2 files created by standard bzip2 (but see BUGS below).


The default mode of operation is compression. If the utility is invoked as lbunzip2 or bunzip2, the MO is switched to decompression. Calling the utility as lbzcat or bzcat selects decompression, with the decompressed byte-stream written to standard output.


Set the number of (de)compressor threads to WTHRS. If this option is not specified, lbzip2 either queries the system for the number of online processors (if both the compilation environment and the execution environment support that), or it exits with an error.
-k, --keep
Don't remove FILE operands after successful (de)compression. Open regular input files with more than one links.
-c, --stdout
Write output to standard output, even when FILE operands are present. Implies -k and excludes -t.
-t, --test
Test decompression; discard output instead of writing it to files or standard output. Implies -k and excludes -c.
-d, --decompress
Force decompression over the mode of operation selected by the invocation name.
-z, --compress
Force compression over the mode of operation selected by the invocation name.
-1 .. -9
Set the compression block size to 100K .. 900K, in 100K increments.
Alias for -1.
Alias for -9. This is the default.
-f, --force
Open non-regular input files. Open input files with more than one links, breaking links when -k isn't specified in addition. Try to remove each output file before opening it.
-v, --verbose
Print a short message to standard error whenever a (de)compression operation commences.
Print condition variable statistics to standard error for each completed (de)compression operation.
-s, --small, -q, --quiet, --repetitive-fast, --repetitive-best
Accepted for compatibility with bzip2, otherwise ignored.
-h, --help, -L, --license, -V, --version
Display license and version information, plus help on command-line usage.


Before parsing the command line, lbzip2 inserts the contents of these variables, in the order specified, between the invocation name and the rest of the command line. Tokens are separated by spaces and tabs, which cannot be escaped.
If this variable is set to a non-empty value, lbzip2 prints a memory allocation trace to standard error. The trace can be checked with the /usr/share/lbzip2/ Perl script.


Specify files to compress or decompress. If no FILE is given, lbzip2 works as a filter. FILEs with .bz2, .tbz, .tbz2 and .tz2 name suffixes will be skipped when compressing. When decompressing, .bz2 suffixes will be removed in output filenames; .tbz, .tbz2 and .tz2 suffixes will be replaced by .tar; other filenames will be suffixed with .out. If an INT or TERM signal is delivered to lbzip2, then it removes the regular output file currently open before exiting.


if lbzip2 finishes successfully. This presumes that whenever it tries, lbzip2 never fails to write to standard error.
if lbzip2 encounters a fatal error.
if lbzip2 issues warnings without encountering a fatal error. This presumes that whenever it tries, lbzip2 never fails to write to standard error.
if lbzip2 intends to exit with status 1 due to any fatal error, but any such signal with inherited SIG_DFL action was generated for lbzip2 previously, then lbzip2 terminates by way of one of said signals, after cleaning up any interrupted output file.
(via assert()) if a runtime assertion fails (ie. lbzip2 detects a bug in itself). Hopefully whoever compiled your binary wasn't bold enough to #define NDEBUG.
lbzip2 catches these signals so that it can remove an interrupted output file. In such cases, lbzip2 exits by re-raising (one of) the received signal(s).


The compressed output is a sequence of single-block bzip2 streams, instead of being a single multi-block bzip2 stream. Thus no output-global combined CRC can be written, and the resulting .bz2 file will return multiple BZ_STREAM_ENDs when decompressed with libbz2.

The multiple-workers decompressor (lbzip2 -d -n WTHRS, where WTHRS is greater than 1, either by default or by manual selection) doesn't check stream-level (combined) CRCs, only block-level CRCs. It can also fail to decompress some rare valid .bz2 files. (See the Bugs section of the /usr/share/doc/lbzip2/README file for more on this.) Since the author cannot rule out that such a failure may get reported as corrupt input instead of the dedicated error message, lbzip2 doesn't reserve a separate exit status for corrupt input -- it could be misleading.

The bit-string search algorithm used in the multiple-workers decompressor is naive and slow.

Separate input files don't share worker threads; at most one input file is worked on at any moment.


Written by Laszlo Ersek <>, Copyright (C) 2008, 2009, 2010 Laszlo Ersek.

This is free software. You may redistribute copies of it under the terms of the GNU General Public License, version 2:

or -- at your opinion -- any later version, eg.


Adam Maulis at ELTE IIG; Julian Seward; Paul Sladen; Michael Thomas from Caltech HEP; Bryan Stillwell; Zsolt Bartos-Elekes; Imre Csatlos; Gabor Kovesdan; Paul Wise; Paolo Bonzini; Department of Electrical and Information Engineering at the University of Oulu.


À chaque page de la Bible nous trouvons la rapine, la trahison, la
rébellion, la fraude, l'usurpation, les violations les plus manifestes
du droit de la nature et des gens autorisées et commandées aux Hébreux
par la Divinité ou par ses interprètes. Les annales des juifs nous
montrent comme des amis de Dieu, comme des hommes selon son coeur,
comme des Héros et des Saints, une foule de personnages que la saine
morale nous ferait regarder comme des monstres souillés des cruautés
les plus révoltantes et des crimes les plus affreux.
-+- Paul D'Holbach -+-