tldr/pages/linux/bzip2.md

235 B

bzip2

A block-sorting file compressor.

  • Compress file:

bzip2 {{path/to/file_to_compress}}

  • Decompress file:

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

  • Decompress to console:

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