7zr

File archiver with a high compression ratio. Similar to 7z except that it only supports .7z files. More information: <https://manned.org/7zr>.

Install

All systems
curl cmd.cat/7zr.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/7zr 7zr powered by Commando

File archiver with a high compression ratio. Similar to 7z except that it only supports .7z files. More information: <https://manned.org/7zr>.

  • [a]rchive a file or directory:
    7zr a path/to/archive.7z path/to/file_or_directory
  • Encrypt an existing archive (including file names):
    7zr a path/to/encrypted.7z -ppassword -mhe=on path/to/archive.7z
  • E[x]tract an archive preserving the original directory structure:
    7zr x path/to/archive.7z
  • E[x]tract an archive to a specific directory:
    7zr x path/to/archive.7z -opath/to/output
  • E[x]tract an archive to `stdout`:
    7zr x path/to/archive.7z -so
  • [l]ist the contents of an archive:
    7zr l path/to/archive.7z
  • Set the level of compression (higher means more compression, but slower):
    7zr a path/to/archive.7z -mx=0|1|3|5|7|9 path/to/file_or_directory

© tl;dr; authors and contributors