bzip2
A block-sorting file compressor. More information: <https://manned.org/bzip2>.
Install
- All systems
-
curl cmd.cat/bzip2.sh
- Debian
-
apt-get install bzip2 - Ubuntu
-
apt-get install bzip2 -
Alpine
-
apk add bzip2 - Arch Linux
-
pacman -S bzip2 - Kali Linux
-
apt-get install bzip2 - CentOS
-
yum install bzip2 - Fedora
-
dnf install bzip2 - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install bzip2 - OS X
-
brew install bzip2 - Raspbian
-
apt-get install bzip2 - Docker
-
docker run cmd.cat/bzip2 bzip2powered by Commando
A block-sorting file compressor. More information: <https://manned.org/bzip2>.
-
Compress a file:
bzip2 path/to/file_to_compress -
Decompress a file:
bzip2 -d path/to/compressed_file.bz2 -
Decompress 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
© tl;dr; authors and contributors