Section: User Commands (1)
Updated: March 6th, 2016
p7zip - Wrapper on 7-Zip file archiver with high compression ratio
7-Zip is a file archiver supporting 7z (that implements LZMA compression algorithm
featuring very high compression ratio), LZMA2, XZ, ZIP, Zip64, CAB,
RAR (if the non-free p7zip-rar package is installed), ARJ, GZIP, BZIP2, TAR, CPIO, RPM, ISO,
most filesystem images and DEB formats.
Compression ratio in the new 7z format is 30-50% better than ratio in ZIP format.
is a gzip-like CLI wrapper script for 7-Zip, and handles only the 7z format (the native
format of 7-Zip), internally executing either
With no switches passed in the command line, each given
argument is compressed into
and then removed.
switch each passed
needs to end with the
extension and is decompressed. After the
decompression the original
is removed unless it contained more than one archived file.
When used without any
reads data from the standard input and compresses (or decompresses in case of
it into the standard output.
- -c, --stdout, --to-stdout
Write output on standard output.
- -d, --decompress, --uncompress
- -f, --force
Skip some checks and force compression or decompression.
- -h, --help
- -k, --keep
Do not delete input file.
Treat all subsequent arguments as file names, even if they start with a dash.
Written for Debian by Mohammed Adnene Trojette. Updated by Robert Luberda.