p7zip (1) - Linux Man Pages
p7zip: Wrapper on 7-Zip file archiver with high compression ratio
p7zip - Wrapper on 7-Zip file archiver with high compression ratio
SYNOPSISp7zip [-c|--stdout|--to-stdout] [-d|--decompress|--uncompress] [-f|--force] [-h|--help] [-k|--keep] [--] [file ...]
DESCRIPTION7-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.
With no switches passed in the command line, each given file argument is compressed into file.7z, and then removed.
With the -d switch each passed file needs to end with the .7z extension and is decompressed. After the decompression the original file is removed unless it contained more than one archived file.
- -c, --stdout, --to-stdout
- Write output on standard output.
- -d, --decompress, --uncompress
- Decompress file.
- -f, --force
- Skip some checks and force compression or decompression.
- -h, --help
- Print usage.
- -k, --keep
- Do not delete input file.
- Treat all subsequent arguments as file names, even if they start with a dash.
AUTHORWritten for Debian by Mohammed Adnene Trojette. Updated by Robert Luberda.