1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
\r
4 <META http-equiv="Content-Type" content="text/html; charset=Windows-1252">
\r
5 <TITLE>-x (Exclude filenames) switch</TITLE>
\r
6 <LINK href="style.css" rel="stylesheet" type="text/css">
\r
11 <H1>-x (Exclude filenames) switch</H1>
\r
13 <P>Specifies which filenames or wildcarded names must be excluded from the operation.</P>
\r
14 <P>Multiple exclude switches are supported.</P>
\r
18 <PRE class="syntax">
\r
19 -x[<recurse_type>]<file_ref>
\r
21 <recurse_type> ::= r[- | 0]
\r
22 <file_ref> ::= @{listfile} | !{wildcard}
\r
25 <P>See <A href="include.htm">-i (Include)</A> switch description for information about
\r
26 option parameters.</P>
\r
31 <PRE class="example">
\r
32 7z a -tzip archive.zip *.txt -x!temp.*
\r
35 <P>adds to the archive <SPAN class="filename">archive.zip</SPAN> all
\r
36 <SPAN class="filename">*.txt</SPAN> files,
\r
37 except <SPAN class="filename">temp.*</SPAN> files.</P>
\r
39 <H4>Commands that can be used with this switch</H4>
\r
42 <A href="../commands/add.htm">a (Add)</A>,
\r
43 <A href="../commands/delete.htm">d (Delete)</A>,
\r
44 <A href="../commands/extract.htm">e (Extract)</A>,
\r
45 <A href="../commands/list.htm">l (List)</A>,
\r
46 <A href="../commands/test.htm">t (Test)</A>,
\r
47 <A href="../commands/update.htm">u (Update)</A>,
\r
48 <A href="../commands/extract_full.htm">x (Extract with full paths)</A>
\r
55 <A href="recurse.htm">-r (Recurse)</A>,
\r
56 <A href="include.htm">-i (Include)</A>
\r