OSDN Git Service

add help file in v4.64
[sevenzip/7-Zip.git] / sevenzip.sourceforge.jp / chm / cmdline / switches / exclude.htm
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">\r
2 <HTML>\r
3 <HEAD>\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
7 </HEAD>\r
8 \r
9 <BODY>\r
10 \r
11 <H1>-x (Exclude filenames) switch</H1>\r
12 \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
15 \r
16 <H4>Syntax</H4>\r
17 \r
18 <PRE class="syntax">\r
19 -x[&lt;recurse_type>]&lt;file_ref>\r
20 \r
21 &lt;recurse_type> ::= r[- | 0]\r
22 &lt;file_ref> ::= @{listfile} | !{wildcard}\r
23 </PRE>\r
24 \r
25 <P>See <A href="include.htm">-i (Include)</A> switch description for information about\r
26     option parameters.</P>\r
27 \r
28 \r
29 <H4>Examples</H4>\r
30 \r
31 <PRE class="example">\r
32 7z a -tzip archive.zip *.txt -x!temp.*\r
33 </PRE>\r
34 \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
38 \r
39 <H4>Commands that can be used with this switch</H4>\r
40 \r
41 <P>\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
49 </P>\r
50 \r
51 <H4>See also</H4>\r
52 \r
53 <P>\r
54   <B>Switches:</B>\r
55   <A href="recurse.htm">-r (Recurse)</A>,\r
56   <A href="include.htm">-i (Include)</A>\r
57 </P>\r
58 \r
59 </BODY>\r
60 </HTML>\r