[28714] | 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 (Extract with full paths) command</TITLE>
|
---|
| 6 | <LINK href="style.css" rel="stylesheet" type="text/css">
|
---|
| 7 | </HEAD>
|
---|
| 8 |
|
---|
| 9 | <BODY>
|
---|
| 10 |
|
---|
| 11 | <H1>x (Extract with full paths) command</H1>
|
---|
| 12 |
|
---|
| 13 | <P>Extracts files from an archive with their full
|
---|
| 14 | paths in the current directory, or in an output directory if specified.</P>
|
---|
| 15 |
|
---|
| 16 | <P>See the <A href="extract.htm">e (Extract)</A> command description for more details.</P>
|
---|
| 17 |
|
---|
| 18 | <H4>Examples</H4>
|
---|
| 19 |
|
---|
| 20 | <PRE class="example">
|
---|
| 21 | 7z x archive.zip
|
---|
| 22 | </PRE>
|
---|
| 23 |
|
---|
| 24 | <P>extracts all files from the archive
|
---|
| 25 | <SPAN class="filename">archive.zip</SPAN> to the current directory.</P>
|
---|
| 26 |
|
---|
| 27 | <PRE class="example">
|
---|
| 28 | 7z x archive.zip -oc:\soft *.cpp -r
|
---|
| 29 | </PRE>
|
---|
| 30 |
|
---|
| 31 | <P>extracts all <SPAN class="filename">*.cpp</SPAN> files from the archive
|
---|
| 32 | <SPAN class="filename">archive.zip</SPAN> to <SPAN class="filename">c:\soft</SPAN> folder.</P>
|
---|
| 33 |
|
---|
| 34 |
|
---|
| 35 | <H4>Notes</H4>
|
---|
| 36 |
|
---|
| 37 | <P>7-Zip doesn't uses the system wildcard parser. 7-Zip doesn't
|
---|
| 38 | follow the archaic rule by which *.* means any file. 7-Zip treats
|
---|
| 39 | *.* as matching the name of any file that has an extension. To process
|
---|
| 40 | all files, you must use a * wildcard.</P>
|
---|
| 41 |
|
---|
| 42 |
|
---|
| 43 | <H4>Switches that can be used with this command</H4>
|
---|
| 44 |
|
---|
| 45 | <P>
|
---|
| 46 | <A href="../switches/ar_include.htm">-ai (Include archives)</A><BR>
|
---|
| 47 | <A href="../switches/ar_no.htm">-an (Disable parsing of archive_name)</A><BR>
|
---|
| 48 | <A href="../switches/overwrite.htm">-ao (Overwrite mode)</A><BR>
|
---|
| 49 | <A href="../switches/ar_exclude.htm">-ax (Exclude archives)</A><BR>
|
---|
| 50 | <A href="../switches/include.htm">-i (Include)</A><BR>
|
---|
| 51 | <A href="../switches/output_dir.htm">-o (Set Output Directory)</A><BR>
|
---|
| 52 | <A href="../switches/password.htm">-p (Set Password)</A><BR>
|
---|
| 53 | <A href="../switches/recurse.htm">-r (Recurse)</A><BR>
|
---|
| 54 | <A href="../switches/stdout.htm">-so (use StdOut)</A><BR>
|
---|
| 55 | <A href="../switches/type.htm">-t (Type of archive)</A><BR>
|
---|
| 56 | <A href="../switches/exclude.htm">-x (Exclude)</A><BR>
|
---|
| 57 | <A href="../switches/yes.htm">-y (Assume Yes on all queries)</A>
|
---|
| 58 | </P>
|
---|
| 59 |
|
---|
| 60 | <H4>See also</H4>
|
---|
| 61 |
|
---|
| 62 | <P>
|
---|
| 63 | <B>Commands:</B>
|
---|
| 64 | <A href="extract.htm">e (Extract)</A>
|
---|
| 65 | </P>
|
---|
| 66 |
|
---|
| 67 | </BODY>
|
---|
| 68 | </HTML>
|
---|