Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

bzip2

Compress and decompress files

Syntax:

Compress and decompress files:

bzip2 [options] [files...]

Decompress files:

bunzip2 [options] [files...]

Decompress files to standard output:

bz2cat [options] [files...]

Runs on:

Neutrino

Options:

-1-9
Set the blocksize to 100k … 900k.
-c
Send output to standard output.
-d
Force decompression.
-f
Force the utility to overwrite existing output files.
-h
Display a help message.
-k
Keep (i.e. don't delete) input files.
--repetitive-best
Compress repetitive blocks better.
--repetitive-fast
Compress repetitive blocks faster.
-s
(Small) use less memory (at most 2500K).
-t
Test the integrity of the compressed file.
-v
Verbose output; a second v makes the utility more verbose.
-z
Force compression.

Description:

This utility compresses and decompresses files:

If no file names are given, bzip2 compresses or decompresses from standard input to standard output.

See also:

freeze, gzip, pax, tar

Backing Up and Recovering Data in the Neutrino User's Guide