tldr/pages/common/bzip2.md

254 B

bzip2

A block-sorting file compressor.

  • Compress a file:

bzip2 {{path/to/file_to_compress}}

  • Decompress a file:

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

  • Decompress a file to standard output:

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