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>e (Extract) command</TITLE>
|
---|
6 | <LINK href="style.css" rel="stylesheet" type="text/css">
|
---|
7 | </HEAD>
|
---|
8 |
|
---|
9 | <BODY>
|
---|
10 |
|
---|
11 | <H1>e (Extract) command</H1>
|
---|
12 |
|
---|
13 | <P>Extracts files from an archive to the current
|
---|
14 | directory or to the output directory. The output directory can be specified by
|
---|
15 | <A href="../switches/output_dir.htm">-o (Set Output Directory)</A> switch.</P>
|
---|
16 |
|
---|
17 | <P>This command copies all extracted files to one directory.
|
---|
18 | If you want extract files with full paths, you must use
|
---|
19 | <A href="extract_full.htm">x (Extract with full paths)</A> command.
|
---|
20 |
|
---|
21 | <P>7-Zip will prompt the user before overwriting existing files unless
|
---|
22 | the user specifies the <A href="../switches/yes.htm">-y (Assume Yes on all queries)</A>
|
---|
23 | switch. If the user gives a <B>no</B> answer, 7-Zip will prompt for the file to be
|
---|
24 | extracted to a new filename. Then a <B>no</B> answer skips that file; or, <B>yes</B>
|
---|
25 | prompts for new filename.</P>
|
---|
26 |
|
---|
27 | <P>7-Zip accepts the following responses:</P>
|
---|
28 |
|
---|
29 | <TABLE>
|
---|
30 | <TR> <TH>Answer</TH> <TH>Abbr.</TH> <TH>Action</TH> </TR>
|
---|
31 | <TR> <TD>Yes</TD> <TD>y</TD> <TD> </TD> </TR>
|
---|
32 | <TR> <TD>No</TD> <TD>n</TD> <TD> </TD> </TR>
|
---|
33 | <TR> <TD>Always</TD> <TD>a</TD> <TD>Assume YES for ALL subsequent queries of the same class</TD> </TR>
|
---|
34 | <TR> <TD>Skip</TD> <TD>s</TD> <TD>Assume NO for ALL subsequent queries of the same class</TD> </TR>
|
---|
35 | <TR> <TD>Quit</TD> <TD>q</TD> <TD>Quit the program</TD> </TR>
|
---|
36 |
|
---|
37 | </TABLE>
|
---|
38 |
|
---|
39 | <P>Abbreviated responses are allowed.</P>
|
---|
40 |
|
---|
41 | <H4>Examples</H4>
|
---|
42 |
|
---|
43 | <PRE class="example">
|
---|
44 | 7z e archive.zip
|
---|
45 | </PRE>
|
---|
46 |
|
---|
47 | <P>extracts all files from archive
|
---|
48 | <SPAN class="filename">archive.zip</SPAN> to the current directory.</P>
|
---|
49 |
|
---|
50 | <PRE class="example">
|
---|
51 | 7z e archive.zip -oc:\soft *.cpp -r
|
---|
52 | </PRE>
|
---|
53 |
|
---|
54 | <P>extracts all <SPAN class="filename">*.cpp</SPAN> files from archive
|
---|
55 | <SPAN class="filename">archive.zip</SPAN> to <SPAN class="filename">c:\soft</SPAN> folder.</P>
|
---|
56 |
|
---|
57 |
|
---|
58 | <H4>Notes</H4>
|
---|
59 |
|
---|
60 | <P>7-Zip doesn't uses the system wildcard parser. 7-Zip doesn't
|
---|
61 | follow the archaic rule by which *.* means any file. 7-Zip treats
|
---|
62 | *.* as matching the name of any file that has an extension. To process
|
---|
63 | all files, you must use a * wildcard.</P>
|
---|
64 |
|
---|
65 |
|
---|
66 | <H4>Switches that can be used with this command</H4>
|
---|
67 |
|
---|
68 | <P>
|
---|
69 | <A href="../switches/ar_include.htm">-ai (Include archives)</A><BR>
|
---|
70 | <A href="../switches/ar_no.htm">-an (Disable parsing of archive_name)</A><BR>
|
---|
71 | <A href="../switches/overwrite.htm">-ao (Overwrite mode)</A><BR>
|
---|
72 | <A href="../switches/ar_exclude.htm">-ax (Exclude archives)</A><BR>
|
---|
73 | <A href="../switches/include.htm">-i (Include)</A><BR>
|
---|
74 | <A href="../switches/output_dir.htm">-o (Set Output Directory)</A><BR>
|
---|
75 | <A href="../switches/password.htm">-p (Set Password)</A><BR>
|
---|
76 | <A href="../switches/recurse.htm">-r (Recurse)</A><BR>
|
---|
77 | <A href="../switches/stdout.htm">-so (use StdOut)</A><BR>
|
---|
78 | <A href="../switches/type.htm">-t (Type of archive)</A><BR>
|
---|
79 | <A href="../switches/exclude.htm">-x (Exclude)</A><BR>
|
---|
80 | <A href="../switches/yes.htm">-y (Assume Yes on all queries)</A>
|
---|
81 | </P>
|
---|
82 |
|
---|
83 | <H4>See also</H4>
|
---|
84 |
|
---|
85 | <P>
|
---|
86 | <B>Commands:</B>
|
---|
87 | <A href="extract_full.htm">x (Extract with full paths)</A>
|
---|
88 | </P>
|
---|
89 |
|
---|
90 | </BODY>
|
---|
91 | </HTML>
|
---|