p7zip

Wrapper of 7-Zip file archiver with high compression ratio. Internally executes either 7za or 7zr command. More information: <http://p7zip.sourceforge.net>.

Install

All systems
curl cmd.cat/p7zip.sh
Debian Debian
apt-get install p7zip
Ubuntu
apt-get install p7zip
Alpine
apk add p7zip
Arch Arch Linux
pacman -S p7zip
image/svg+xml Kali Linux
apt-get install p7zip
Fedora
dnf install p7zip
Windows (WSL2)
sudo apt-get update sudo apt-get install p7zip
OS X
brew install p7zip
Raspbian
apt-get install p7zip
Docker
docker run cmd.cat/p7zip p7zip powered by Commando

Wrapper of 7-Zip file archiver with high compression ratio. Internally executes either 7za or 7zr command. More information: <http://p7zip.sourceforge.net>.

  • Archive a file, replacing it with a 7zipped compressed version:
    p7zip path/to/file
  • Archive a file keeping the input file:
    p7zip -k path/to/file
  • Decompress a file, replacing it with the original uncompressed version:
    p7zip -d compressed.ext.7z
  • Decompress a file keeping the input file:
    p7zip -d -k compressed.ext.7z
  • Skip some checks and force compression or decompression:
    p7zip -f path/to/file

© tl;dr; authors and contributors