man-pages/man1/p7zip.1.html
2021-03-31 01:06:50 +01:00

156 lines
3.4 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of p7zip</TITLE>
</HEAD><BODY>
<H1>p7zip</H1>
Section: User Commands (1)<BR>Updated: March 6th, 2016<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
p7zip - Wrapper on 7-Zip file archiver with high compression ratio
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>p7zip</B>
[<B>-c</B>|<B>--stdout</B>|<B>--to-stdout</B>]
[<B>-d</B>|<B>--decompress</B>|<B>--uncompress</B>]
[<B>-f</B>|<B>--force</B>]
[<B>-h</B>|<B>--help</B>]
[<B>-k</B>|<B>--keep</B>]
[<B>--</B>]
[<I>file ...</I>]
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
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.
<P>
<B>p7zip</B>
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
<B><A HREF="/cgi-bin/man/man2html?1+7za">7za</A></B>(1)
or
<B><A HREF="/cgi-bin/man/man2html?1+7zr">7zr</A></B>(1)
command.
<P>
With no switches passed in the command line, each given
<I>file</I>
argument is compressed into
<I>file.7z</I>,
and then removed.
<P>
With the
<B>-d</B>
switch each passed
<I>file</I>
needs to end with the
<I>.7z</I>
extension and is decompressed. After the
decompression the original
<I>file</I>
is removed unless it contained more than one archived file.
<P>
When used without any
<I>file</I>
argument,
<B>p7zip</B>
reads data from the standard input and compresses (or decompresses in case of
<B>-d</B>)
it into the standard output.
<A NAME="lbAE">&nbsp;</A>
<H2>SWITCHES</H2>
<DL COMPACT>
<DT id="1"><B>-c</B>, <B>--stdout</B>, <B>--to-stdout</B>
<DD>
Write output on standard output.
<DT id="2"><B>-d</B>, <B>--decompress</B>, <B>--uncompress</B>
<DD>
Decompress file.
<DT id="3"><B>-f</B>, <B>--force</B>
<DD>
Skip some checks and force compression or decompression.
<DT id="4"><B>-h</B>, <B>--help</B>
<DD>
Print usage.
<DT id="5"><B>-k</B>, <B>--keep</B>
<DD>
Do not delete input file.
<DT id="6"><B>--</B>
<DD>
Treat all subsequent arguments as file names, even if they start with a dash.
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?1+7z">7z</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+7za">7za</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+7zr">7zr</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+bzip2">bzip2</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+gzip">gzip</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+zip">zip</A></B>(1)
<A NAME="lbAG">&nbsp;</A>
<H2>AUTHOR</H2>
Written for Debian by Mohammed Adnene Trojette. Updated by Robert Luberda.
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="7"><A HREF="#lbAB">NAME</A><DD>
<DT id="8"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="9"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="10"><A HREF="#lbAE">SWITCHES</A><DD>
<DT id="11"><A HREF="#lbAF">SEE ALSO</A><DD>
<DT id="12"><A HREF="#lbAG">AUTHOR</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:21 GMT, March 31, 2021
</BODY>
</HTML>