comparison p7zip_9.20.1/DOCS/MANUAL/switches/include.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>-i (Include filenames) switch</TITLE>
6 <LINK href="style.css" rel="stylesheet" type="text/css">
7 </HEAD>
8
9 <BODY>
10
11 <H1>-i (Include filenames) switch</H1>
12
13 <P>Specifies additional include filenames and wildcards.</P>
14 <P>Multiple include switches are supported.</P>
15
16 <H4>Syntax</H4>
17
18 <PRE class="syntax">
19 -i[<A class="parameter" href="#recurse_type">&lt;recurse_type></A>]<A class="parameter" href="#file_ref">&lt;file_ref></A>
20
21 <A class="parameter" href="#recurse_type">&lt;recurse_type></A> ::= r[- | 0]
22 <A class="parameter" href="#file_ref">&lt;file_ref></A> ::= @{listfile} | !{wildcard}
23 </PRE>
24
25 <H4>Parameters</H4>
26
27 <DL>
28 <DT><A name="recurse_type"></A>&lt;recurse_type></DT>
29 <DD><P>Specifies how wildcards and file names in this switch must
30 be used. If this option is not given, then the global value, assigned
31 by the <A href="recurse.htm">-r (Recurse)</A> switch will be used. For
32 more details see specification of the
33 <A href="recurse.htm">-r (Recurse)</A> switch.</P>
34 <PRE class="syntax">
35 &lt;recurse_type> ::= r[- | 0]
36 </PRE>
37
38 </DD>
39 <DT><A name="file_ref"></A>&lt;file_ref></DT>
40 <DD>
41 <P>Specifies filenames and wildcards, or a list file, for files to be processed.</P>
42 <PRE class="syntax">
43 &lt;file_ref> ::= @{listfile} | !{wildcard}
44 </PRE>
45 <TABLE>
46 <TR> <TH width="120">Option</TH> <TH>Description</TH> </TR>
47 <TR> <TD>{listfile}</TD> <TD>Specifies name of list file. See
48 <A href = ../syntax.htm#ListFile>List file</A> description.</TD> </TR>
49 <TR> <TD>{wildcard}</TD> <TD>Specifies wildcard or filename.</TD> </TR>
50 </TABLE>
51 </DD>
52 </DL>
53
54 <H4>Examples</H4>
55
56 <PRE class="example">
57 7z a -tzip src.zip *.txt -ir!DIR1\*.cpp
58 </PRE>
59
60 <P>adds to <SPAN class="filename">src.zip</SPAN> archive all
61 <SPAN class="filename">*.txt</SPAN> files from current directory
62 and all <SPAN class="filename">*.cpp</SPAN>
63 files from directory <SPAN class="filename">DIR1</SPAN>
64 and from all it's subdirectories.</P>
65
66 <H4>Commands that can be used with this switch</H4>
67
68 <P>
69 <A href="../commands/add.htm">a (Add)</A>,
70 <A href="../commands/delete.htm">d (Delete)</A>,
71 <A href="../commands/extract.htm">e (Extract)</A>,
72 <A href="../commands/list.htm">l (List)</A>,
73 <A href="../commands/test.htm">t (Test)</A>,
74 <A href="../commands/update.htm">u (Update)</A>,
75 <A href="../commands/extract_full.htm">x (Extract with full paths)</A>
76 </P>
77
78 <H4>See also</H4>
79
80 <P>
81 <B>Switches:</B>
82 <A href="recurse.htm">-r (Recurse)</A>,
83 <A href="exclude.htm">-x (Exclude)</A>
84 </P>
85
86 </BODY>
87 </HTML>