OSDN Git Service

add help file in v4.64
[sevenzip/7-Zip.git] / sevenzip.sourceforge.jp / chm / cmdline / switches / recurse.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>-r (Recurse subdirectories) 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>-r (Recurse subdirectories) switch</H1>\r
12 \r
13 <P>Specifies the method of treating wildcards and filenames on the command line.</P>\r
14 \r
15 <H4>Syntax</H4>\r
16 \r
17 <PRE class="syntax">\r
18 -r[- | 0]\r
19 </PRE>\r
20 \r
21 \r
22 <TABLE>\r
23   <TR><TH width="80">Switch</TH> <TH>Description</TH></TR>\r
24   <TR><TD>-r</TD> <TD>Enable recurse subdirectories.</TD></TR>\r
25   <TR><TD>-r-</TD> <TD>Disable recurse subdirectories. This option is default for all commands.</TD></TR>\r
26   <TR><TD>-r0</TD> <TD>Enable recurse subdirectories only for wildcard names.</TD></TR>\r
27 </TABLE>\r
28 \r
29 <H4>Examples</H4>\r
30 \r
31 <PRE class="example">\r
32 7z l archive.zip *.doc -r-\r
33 </PRE>\r
34 \r
35 <P>lists all <SPAN class="filename">*.doc</SPAN> files\r
36   that belong to the archived root directory\r
37   in the <SPAN class="filename">archive.zip</SPAN> archive.\r
38   </P>\r
39 \r
40 <PRE class="example">\r
41 7z a -tzip archive.zip -r src\*.cpp src\*.h\r
42 </PRE>\r
43 \r
44 <P>adds all <SPAN class="filename">*.cpp</SPAN> and <SPAN class="filename">*.h</SPAN>\r
45   files from directory <SPAN class="filename">src</SPAN> and all it's subdirectories\r
46   to the <SPAN class="filename">archive.zip</SPAN> archive.</P>\r
47 \r
48 <H4>Commands that can be used with this switch</H4>\r
49 \r
50 <P>\r
51   <A href="../commands/add.htm">a (Add)</A>,\r
52   <A href="../commands/delete.htm">d (Delete)</A>,\r
53   <A href="../commands/extract.htm">e (Extract)</A>,\r
54   <A href="../commands/list.htm">l (List)</A>,\r
55   <A href="../commands/test.htm">t (Test)</A>,\r
56   <A href="../commands/update.htm">u (Update)</A>,\r
57   <A href="../commands/extract_full.htm">x (Extract with full paths)</A>\r
58 </P>\r
59 \r
60 <H4>See also</H4>\r
61 \r
62 <P>\r
63   <B>Switches:</B>\r
64   <A href="include.htm">-i (Include)</A>,\r
65   <A href="exclude.htm">-x (Exclude)</A>\r
66 </P>\r
67 \r
68 </BODY>\r
69 </HTML>\r