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>-i (Include filenames) switch</TITLE>
\r
6 <LINK href="style.css" rel="stylesheet" type="text/css">
\r
11 <H1>-i (Include filenames) switch</H1>
\r
13 <P>Specifies additional include filenames and wildcards.</P>
\r
14 <P>Multiple include switches are supported.</P>
\r
18 <PRE class="syntax">
\r
19 -i[<A class="parameter" href="#recurse_type"><recurse_type></A>]<A class="parameter" href="#file_ref"><file_ref></A>
\r
21 <A class="parameter" href="#recurse_type"><recurse_type></A> ::= r[- | 0]
\r
22 <A class="parameter" href="#file_ref"><file_ref></A> ::= @{listfile} | !{wildcard}
\r
28 <DT><A name="recurse_type"></A><recurse_type></DT>
\r
29 <DD><P>Specifies how wildcards and file names in this switch must
\r
30 be used. If this option is not given, then the global value, assigned
\r
31 by the <A href="recurse.htm">-r (Recurse)</A> switch will be used. For
\r
32 more details see specification of the
\r
33 <A href="recurse.htm">-r (Recurse)</A> switch.</P>
\r
34 <PRE class="syntax">
\r
35 <recurse_type> ::= r[- | 0]
\r
39 <DT><A name="file_ref"></A><file_ref></DT>
\r
41 <P>Specifies filenames and wildcards, or a list file, for files to be processed.</P>
\r
42 <PRE class="syntax">
\r
43 <file_ref> ::= @{listfile} | !{wildcard}
\r
46 <TR> <TH width="120">Option</TH> <TH>Description</TH> </TR>
\r
47 <TR> <TD>{listfile}</TD> <TD>Specifies name of list file. See
\r
48 <A href = ../syntax.htm#ListFile>List file</A> description.</TD> </TR>
\r
49 <TR> <TD>{wildcard}</TD> <TD>Specifies wildcard or filename.</TD> </TR>
\r
56 <PRE class="example">
\r
57 7z a -tzip src.zip *.txt -ir!DIR1\*.cpp
\r
60 <P>adds to <SPAN class="filename">src.zip</SPAN> archive all
\r
61 <SPAN class="filename">*.txt</SPAN> files from current directory
\r
62 and all <SPAN class="filename">*.cpp</SPAN>
\r
63 files from directory <SPAN class="filename">DIR1</SPAN>
\r
64 and from all it's subdirectories.</P>
\r
66 <H4>Commands that can be used with this switch</H4>
\r
69 <A href="../commands/add.htm">a (Add)</A>,
\r
70 <A href="../commands/delete.htm">d (Delete)</A>,
\r
71 <A href="../commands/extract.htm">e (Extract)</A>,
\r
72 <A href="../commands/list.htm">l (List)</A>,
\r
73 <A href="../commands/test.htm">t (Test)</A>,
\r
74 <A href="../commands/update.htm">u (Update)</A>,
\r
75 <A href="../commands/extract_full.htm">x (Extract with full paths)</A>
\r
82 <A href="recurse.htm">-r (Recurse)</A>,
\r
83 <A href="exclude.htm">-x (Exclude)</A>
\r