1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 10:02:10 +02:00
tldr/pages/common/bzip2.md
Vitor Henrique 1ba7fb9460
pages*: add missing mnemonics (#12151)
* pages*: add missing mnemonics

---------

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-02-19 19:43:42 +05:30

667 B

bzip2

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

  • Compress a file:

bzip2 {{path/to/file_to_compress}}

  • [d]ecompress a file:

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

  • [d]ecompress a file to stdout:

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

  • Test the integrity of each file inside the archive file:

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

  • Show the compression ratio for each file processed with detailed information:

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

  • Decompress a file overwriting existing files:

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

  • Display help:

bzip2 -h