bzip2 Command Examples

A block-sorting file compressor. More information: https://manned.org/bzip2.

bzip2 {{path/to/file_to_compress}}

bzip2 -d {{path/to/compressed_file.bz2}}

bzip2 -dc {{path/to/compressed_file.bz2}}

bzip2 --test {{path/to/compressed_file.bz2}}

bzip2 --verbose {{path/to/compressed_files.bz2}}

bzip2 --force {{path/to/compressed_file.bz2}}

bzip2 -h