comparison p7zip_9.20.1/DOCS/MANUAL/switches/exclude.htm @ 707:8e902fcb8792

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