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