/usr/share/doc/p7zip-full/DOCS/MANUAL/switches/exclude.htm is in p7zip-full 9.20.1~dfsg.1-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<TITLE>-x (Exclude filenames) switch</TITLE>
<LINK href="style.css" rel="stylesheet" type="text/css">
</HEAD>
<BODY>
<H1>-x (Exclude filenames) switch</H1>
<P>Specifies which filenames or wildcarded names must be excluded from the operation.</P>
<P>Multiple exclude switches are supported.</P>
<H4>Syntax</H4>
<PRE class="syntax">
-x[<recurse_type>]<file_ref>
<recurse_type> ::= r[- | 0]
<file_ref> ::= @{listfile} | !{wildcard}
</PRE>
<P>See <A href="include.htm">-i (Include)</A> switch description for information about
option parameters.</P>
<H4>Examples</H4>
<PRE class="example">
7z a -tzip archive.zip *.txt -x!temp.*
</PRE>
<P>adds to the archive <SPAN class="filename">archive.zip</SPAN> all
<SPAN class="filename">*.txt</SPAN> files,
except <SPAN class="filename">temp.*</SPAN> files.</P>
<H4>Commands that can be used with this switch</H4>
<P>
<A href="../commands/add.htm">a (Add)</A>,
<A href="../commands/delete.htm">d (Delete)</A>,
<A href="../commands/extract.htm">e (Extract)</A>,
<A href="../commands/list.htm">l (List)</A>,
<A href="../commands/test.htm">t (Test)</A>,
<A href="../commands/update.htm">u (Update)</A>,
<A href="../commands/extract_full.htm">x (Extract with full paths)</A>
</P>
<H4>See also</H4>
<P>
<B>Switches:</B>
<A href="recurse.htm">-r (Recurse)</A>,
<A href="include.htm">-i (Include)</A>
</P>
</BODY>
</HTML>
|