diff options
author | kh1 <karsten.heimrich@nokia.com> | 2012-03-15 14:53:47 +0100 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@nokia.com> | 2012-03-19 16:14:04 +0100 |
commit | be3b47d0d504a3409ce66bd77bb8c0acff87c4f5 (patch) | |
tree | 09dfb02d484a4f395991972b828da71400fb761a /src/libs/7zip/unix/DOCS/MANUAL/switches | |
parent | 9fd62353cf7f973d78cd2093328ac15b5c4980b6 (diff) |
Reorganize the tree, have better ifw.pri. Shadow build support.
Change-Id: I01fb12537f863ed0744979973c7e4153889cc5cb
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Diffstat (limited to 'src/libs/7zip/unix/DOCS/MANUAL/switches')
25 files changed, 2393 insertions, 0 deletions
diff --git a/src/libs/7zip/unix/DOCS/MANUAL/switches/ar_exclude.htm b/src/libs/7zip/unix/DOCS/MANUAL/switches/ar_exclude.htm new file mode 100644 index 000000000..697891880 --- /dev/null +++ b/src/libs/7zip/unix/DOCS/MANUAL/switches/ar_exclude.htm @@ -0,0 +1,56 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<HTML> +<HEAD> + <META http-equiv="Content-Type" content="text/html; charset=Windows-1252"> + <TITLE>-ax (Exclude archive filenames) switch</TITLE> + <LINK href="style.css" rel="stylesheet" type="text/css"> +</HEAD> + +<BODY> + +<H1>-ax (Exclude archive filenames) switch</H1> + +<P>Specifies archives to be excluded from the operation.</P> +<P>Multiple exclude archive switches are supported.</P> + +<H4>Syntax</H4> + +<PRE class="syntax"> +-ax[<recurse_type>]<file_ref> + +<recurse_type> ::= r[- | 0] +<file_ref> ::= @{listfile} | !{wildcard} +</PRE> + +<P>See <A href="include.htm">-xi (Include archive filenames)</A> switch description +for information about option parameters.</P> + + +<H4>Examples</H4> + +<PRE class="example"> +7z t -an -ai!*.7z -ax!a*.7z +</PRE> + +<P>tests all <SPAN class="filename">*.7z</SPAN> archives, + except <SPAN class="filename">a*.7z</SPAN> archives.</P> + +<H4>Commands that can be used with this switch</H4> + +<P> + <A href="../commands/extract.htm">e (Extract)</A>, + <A href="../commands/list.htm">l (List)</A>, + <A href="../commands/test.htm">t (Test)</A>, + <A href="../commands/extract_full.htm">x (Extract with full paths)</A> +</P> + +<H4>See also</H4> + +<P> + <B>Switches:</B> + <A href="include.htm">-ai (Include archives)</A> + <A href="ar_no.htm">-an (Disable parsing of archive_name)</A> +</P> + +</BODY> +</HTML> diff --git a/src/libs/7zip/unix/DOCS/MANUAL/switches/ar_include.htm b/src/libs/7zip/unix/DOCS/MANUAL/switches/ar_include.htm new file mode 100644 index 000000000..30a5a9b69 --- /dev/null +++ b/src/libs/7zip/unix/DOCS/MANUAL/switches/ar_include.htm @@ -0,0 +1,83 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<HTML> +<HEAD> + <META http-equiv="Content-Type" content="text/html; charset=Windows-1252"> + <TITLE>-ai (Include archive filenames) switch</TITLE> + <LINK href="style.css" rel="stylesheet" type="text/css"> +</HEAD> + +<BODY> + +<H1>-ai (Include archive filenames) switch</H1> + +<P>Specifies additional include archive filenames and wildcards.</P> +<P>Multiple include switches are supported.</P> + +<H4>Syntax</H4> + +<PRE class="syntax"> +-ai[<A class="parameter" href="#recurse_type"><recurse_type></A>]<A class="parameter" href="#file_ref"><file_ref></A> + +<A class="parameter" href="#recurse_type"><recurse_type></A> ::= r[- | 0] +<A class="parameter" href="#file_ref"><file_ref></A> ::= @{listfile} | !{wildcard} +</PRE> + +<H4>Parameters</H4> + +<DL> + <DT><A name="recurse_type"></A><recurse_type></DT> + <DD><P>Specifies how wildcards and file names in this switch must + be used. If this option is not given, recursion will be not used. + For more details see specification of the + <A href="recurse.htm">-r (Recurse)</A> switch.</P> +<PRE class="syntax"> +<recurse_type> ::= r[- | 0] +</PRE> + + </DD> + <DT><A name="file_ref"></A><file_ref></DT> + <DD> + <P>Specifies filenames and wildcards or list file that specify processed files.</P> +<PRE class="syntax"> +<file_ref> ::= @{listfile} | !{wildcard} +</PRE> + <TABLE> + <TR> <TH width="120">Option</TH> <TH>Description</TH> </TR> + <TR> <TD>{listfile}</TD> <TD>Specifies name of list file. See + <A href = ../syntax.htm#ListFile>List file</A> description.</TD> </TR> + <TR> <TD>{wildcard}</TD> <TD>Specifies wildcard or filename.</TD> </TR> + </TABLE> + </DD> +</DL> + +<H4>Examples</H4> + +<PRE class="example"> +7z t -an -air!*.7z +</PRE> + +<P>tests <SPAN class="filename">*.7z</SPAN> archives in current directory and all it's +subdirectories.</P> + +<H4>Commands that can be used with this switch</H4> + +<P> + <A href="../commands/add.htm">a (Add)</A>, + <A href="../commands/delete.htm">d (Delete)</A>, + <A href="../commands/extract.htm">e (Extract)</A>, + <A href="../commands/list.htm">l (List)</A>, + <A href="../commands/test.htm">t (Test)</A>, + <A href="../commands/update.htm">u (Update)</A>, + <A href="../commands/extract_full.htm">x (Extract with full paths)</A> +</P> + +<H4>See also</H4> + +<P> + <B>Switches:</B> + <A href="ar_exclude.htm">-ax (Exclude archives)</A> + <A href="ar_no.htm">-an (Disable parsing of archive_name)</A> +</P> + +</BODY> +</HTML> diff --git a/src/libs/7zip/unix/DOCS/MANUAL/switches/ar_no.htm b/src/libs/7zip/unix/DOCS/MANUAL/switches/ar_no.htm new file mode 100644 index 000000000..d925f13d3 --- /dev/null +++ b/src/libs/7zip/unix/DOCS/MANUAL/switches/ar_no.htm @@ -0,0 +1,52 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<HTML> +<HEAD> + <META http-equiv="Content-Type" content="text/html; charset=Windows-1252"> + <TITLE>-an (Disable parsing of archive_name) switch</TITLE> + <LINK href="style.css" rel="stylesheet" type="text/css"> +</HEAD> + +<BODY> + +<H1>-an (Disable parsing of archive_name) switch</H1> + +<P>Disables parsing of the archive_name field on the command line. +This switch must be used with the +<A href="include.htm">-ai (Include archives) switch</A>. +If you use a file list for your archives, you specify it with the -ai switch, +so you need to disable parsing of archive_name field from command line. + +<H4>Syntax</H4> + +<PRE class="syntax"> +-an +</PRE> + +<H4>Examples</H4> + +<PRE class="example"> +7z t -an -ai!*.7z -ax!a*.7z +</PRE> + +<P>tests all <SPAN class="filename">*.7z</SPAN> archives, + except <SPAN class="filename">a*.7z</SPAN> archives.</P> + +<H4>Commands that can be used with this switch</H4> + +<P> + <A href="../commands/extract.htm">e (Extract)</A>, + <A href="../commands/list.htm">l (List)</A>, + <A href="../commands/test.htm">t (Test)</A>, + <A href="../commands/extract_full.htm">x (Extract with full paths)</A> +</P> + +<H4>See also</H4> + +<P> + <B>Switches:</B> + <A href="include.htm">-ai (Include archives)</A> + <A href="exclude.htm">-ax (Exclude archives)</A> +</P> + +</BODY> +</HTML> diff --git a/src/libs/7zip/unix/DOCS/MANUAL/switches/charset.htm b/src/libs/7zip/unix/DOCS/MANUAL/switches/charset.htm new file mode 100644 index 000000000..e30802652 --- /dev/null +++ b/src/libs/7zip/unix/DOCS/MANUAL/switches/charset.htm @@ -0,0 +1,49 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<HTML> +<HEAD> + <META http-equiv="Content-Type" content="text/html; charset=Windows-1252"> + <TITLE>-scs (Set charset for list files) switch</TITLE> + <LINK href="style.css" rel="stylesheet" type="text/css"> +</HEAD> + +<BODY> + +<H1>-scs (Set charset for list files) switch</H1> + +<P>Sets charset for list files.</P> + +<H4>Syntax</H4> + +<PRE class="syntax"> +-scs{UTF-8 | WIN | DOS} +</PRE> + +<P>Default charset is UTF-8.</P> + +<DL> + <DT>UTF-8</DT> + <DD>Unicode UTF-8 character set.</DD> + <DT>WIN</DT> + <DD>Default character set of Windows.</DD> + <DT>DOS</DT> + <DD>Default DOS (OEM) character set of Windows.</DD> +</DL> + +<H4>Example</H4> + +<PRE class="example"> +7z a archive.7z @listfile.txt -scsWIN +</PRE> + +<P>compresses files from <SPAN class="filename">listfile.txt</SPAN> list, that contains +list of files in default character set of Windows.</P> + +<H4>Commands that can be used with this switch</H4> + +<P> + <A href="../commands/add.htm">a (Add)</A>, + <A href="../commands/update.htm">u (Update)</A> +</P> + +</BODY> +</HTML> diff --git a/src/libs/7zip/unix/DOCS/MANUAL/switches/exclude.htm b/src/libs/7zip/unix/DOCS/MANUAL/switches/exclude.htm new file mode 100644 index 000000000..faf8768e2 --- /dev/null +++ b/src/libs/7zip/unix/DOCS/MANUAL/switches/exclude.htm @@ -0,0 +1,60 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<HTML> +<HEAD> + <META http-equiv="Content-Type" content="text/html; charset=Windows-1252"> + <TITLE>-x (Exclude filenames) switch</TITLE> + <LINK href="style.css" rel="stylesheet" type="text/css"> +</HEAD> + +<BODY> + +<H1>-x (Exclude filenames) switch</H1> + +<P>Specifies which filenames or wildcarded names must be excluded from the operation.</P> +<P>Multiple exclude switches are supported.</P> + +<H4>Syntax</H4> + +<PRE class="syntax"> +-x[<recurse_type>]<file_ref> + +<recurse_type> ::= r[- | 0] +<file_ref> ::= @{listfile} | !{wildcard} +</PRE> + +<P>See <A href="include.htm">-i (Include)</A> switch description for information about + option parameters.</P> + + +<H4>Examples</H4> + +<PRE class="example"> +7z a -tzip archive.zip *.txt -x!temp.* +</PRE> + +<P>adds to the archive <SPAN class="filename">archive.zip</SPAN> all + <SPAN class="filename">*.txt</SPAN> files, + except <SPAN class="filename">temp.*</SPAN> files.</P> + +<H4>Commands that can be used with this switch</H4> + +<P> + <A href="../commands/add.htm">a (Add)</A>, + <A href="../commands/delete.htm">d (Delete)</A>, + <A href="../commands/extract.htm">e (Extract)</A>, + <A href="../commands/list.htm">l (List)</A>, + <A href="../commands/test.htm">t (Test)</A>, + <A href="../commands/update.htm">u (Update)</A>, + <A href="../commands/extract_full.htm">x (Extract with full paths)</A> +</P> + +<H4>See also</H4> + +<P> + <B>Switches:</B> + <A href="recurse.htm">-r (Recurse)</A>, + <A href="include.htm">-i (Include)</A> +</P> + +</BODY> +</HTML> diff --git a/src/libs/7zip/unix/DOCS/MANUAL/switches/include.htm b/src/libs/7zip/unix/DOCS/MANUAL/switches/include.htm new file mode 100644 index 000000000..009f5efcb --- /dev/null +++ b/src/libs/7zip/unix/DOCS/MANUAL/switches/include.htm @@ -0,0 +1,87 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<HTML> +<HEAD> + <META http-equiv="Content-Type" content="text/html; charset=Windows-1252"> + <TITLE>-i (Include filenames) switch</TITLE> + <LINK href="style.css" rel="stylesheet" type="text/css"> +</HEAD> + +<BODY> + +<H1>-i (Include filenames) switch</H1> + +<P>Specifies additional include filenames and wildcards.</P> +<P>Multiple include switches are supported.</P> + +<H4>Syntax</H4> + +<PRE class="syntax"> +-i[<A class="parameter" href="#recurse_type"><recurse_type></A>]<A class="parameter" href="#file_ref"><file_ref></A> + +<A class="parameter" href="#recurse_type"><recurse_type></A> ::= r[- | 0] +<A class="parameter" href="#file_ref"><file_ref></A> ::= @{listfile} | !{wildcard} +</PRE> + +<H4>Parameters</H4> + +<DL> + <DT><A name="recurse_type"></A><recurse_type></DT> + <DD><P>Specifies how wildcards and file names in this switch must + be used. If this option is not given, then the global value, assigned + by the <A href="recurse.htm">-r (Recurse)</A> switch will be used. For + more details see specification of the + <A href="recurse.htm">-r (Recurse)</A> switch.</P> +<PRE class="syntax"> +<recurse_type> ::= r[- | 0] +</PRE> + + </DD> + <DT><A name="file_ref"></A><file_ref></DT> + <DD> + <P>Specifies filenames and wildcards, or a list file, for files to be processed.</P> +<PRE class="syntax"> +<file_ref> ::= @{listfile} | !{wildcard} +</PRE> + <TABLE> + <TR> <TH width="120">Option</TH> <TH>Description</TH> </TR> + <TR> <TD>{listfile}</TD> <TD>Specifies name of list file. See + <A href = ../syntax.htm#ListFile>List file</A> description.</TD> </TR> + <TR> <TD>{wildcard}</TD> <TD>Specifies wildcard or filename.</TD> </TR> + </TABLE> + </DD> +</DL> + +<H4>Examples</H4> + +<PRE class="example"> +7z a -tzip src.zip *.txt -ir!DIR1\*.cpp +</PRE> + +<P>adds to <SPAN class="filename">src.zip</SPAN> archive all + <SPAN class="filename">*.txt</SPAN> files from current directory + and all <SPAN class="filename">*.cpp</SPAN> + files from directory <SPAN class="filename">DIR1</SPAN> + and from all it's subdirectories.</P> + +<H4>Commands that can be used with this switch</H4> + +<P> + <A href="../commands/add.htm">a (Add)</A>, + <A href="../commands/delete.htm">d (Delete)</A>, + <A href="../commands/extract.htm">e (Extract)</A>, + <A href="../commands/list.htm">l (List)</A>, + <A href="../commands/test.htm">t (Test)</A>, + <A href="../commands/update.htm">u (Update)</A>, + <A href="../commands/extract_full.htm">x (Extract with full paths)</A> +</P> + +<H4>See also</H4> + +<P> + <B>Switches:</B> + <A href="recurse.htm">-r (Recurse)</A>, + <A href="exclude.htm">-x (Exclude)</A> +</P> + +</BODY> +</HTML> diff --git a/src/libs/7zip/unix/DOCS/MANUAL/switches/index.htm b/src/libs/7zip/unix/DOCS/MANUAL/switches/index.htm new file mode 100644 index 000000000..65e335d49 --- /dev/null +++ b/src/libs/7zip/unix/DOCS/MANUAL/switches/index.htm @@ -0,0 +1,64 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<HTML> +<HEAD> + <META http-equiv="Content-Type" content="text/html; charset=Windows-1252"> + <TITLE>Command Line Switches</TITLE> + <LINK href="style.css" rel="stylesheet" type="text/css"> +</HEAD> + +<BODY> + +<H1>Command Line Switches</H1> + +<H4>Syntax</H4> + +<PRE class="syntax"> +<switch>::= <switch_symbol><switch_characters>[<option>] +<switch_symbol> ::= '/' | '-' + +</PRE> +<P>On the command line, a switch consists of a switch specifier, +either a dash (-) or a forward slash (/), followed by the name of +the switch. Switch names cannot be abbreviated.</P> + +<P>Some switches take an argument after the switch name. +No spaces or tabs are allowed within a switch specification. +Switch names are not case sensitive, but arguments can be case sensitive. +</P> + +<P>Switch can be used in any place in command line.</B> + +<P>See also <A href ="../syntax.htm">Command Line Syntax</A> for more details + about using the command line.</P> + +<H2>Switch quick reference</H2> + +<TABLE border="1" cellpadding="3" cellspacing="0"> +<TR><TH>Switch</TH><TH>Description</TH></TR> +<TR> <TD><A href="stop_switch.htm">--</A></TD> <TD><A href="stop_switch.htm">Stop switches parsing</A></TD></TR> +<TR> <TD><A href="ar_include.htm">-ai</A></TD> <TD><A href="ar_include.htm">Include archive filenames</A></TD></TR> +<TR> <TD><A href="ar_no.htm">-an</A></TD> <TD><A href="ar_no.htm">Disable parsing of archive_name</A></TD></TR> +<TR> <TD><A href="overwrite.htm">-ao</A></TD> <TD><A href="overwrite.htm">Overwrite mode</A></TD></TR> +<TR> <TD><A href="ar_exclude.htm">-ax</A></TD> <TD><A href="ar_exclude.htm">Exclude archive filenames</A></TD></TR> +<TR> <TD><A href="include.htm">-i</A></TD> <TD><A href="include.htm">Include filenames</A></TD></TR> +<TR> <TD><A href="method.htm">-m</A></TD> <TD><A href="method.htm">Set Compression Method</A></TD></TR> +<TR> <TD><A href="output_dir.htm">-o</A></TD> <TD><A href="output_dir.htm">Set Output directory</A></TD></TR> +<TR> <TD><A href="password.htm">-p</A></TD> <TD><A href="password.htm">Set Password</A></TD></TR> +<TR> <TD><A href="recurse.htm">-r</A></TD> <TD><A href="recurse.htm">Recurse subdirectories</A></TD></TR> +<TR> <TD><A href="charset.htm">-scs</A></TD> <TD><A href="charset.htm">Set charset for list files</A></TD></TR> +<TR> <TD><A href="large_pages.htm">-slp</A></TD> <TD><A href="large_pages.htm">Set Large Pages mode</A></TD></TR> +<TR> <TD><A href="list_tech.htm">-slt</A></TD> <TD><A href="list_tech.htm">Show technical information</A></TD></TR> +<TR> <TD><A href="sfx.htm">-sfx</A></TD> <TD><A href="sfx.htm">Create SFX archive</A></TD></TR> +<TR> <TD><A href="stdin.htm">-si</A></TD> <TD><A href="stdin.htm">Read data from StdIn</A></TD></TR> +<TR> <TD><A href="stdout.htm">-so</A></TD> <TD><A href="stdout.htm">Write data to StdOut</A></TD></TR> +<TR> <TD><A href="ssc.htm">-ssc</A></TD> <TD><A href="ssc.htm">Set Sensitive Case mode</A></TD></TR> +<TR> <TD><A href="type.htm">-t</A></TD> <TD><A href="type.htm">Type of archive</A></TD></TR> +<TR> <TD><A href="update.htm">-u</A></TD> <TD><A href="update.htm">Update options</A></TD></TR> +<TR> <TD><A href="volume.htm">-v</A></TD> <TD><A href="volume.htm">Create Volumes</A></TD></TR> +<TR> <TD><A href="working_dir.htm">-w</A></TD> <TD><A href="working_dir.htm">Set Working directory</A></TD></TR> +<TR> <TD><A href="exclude.htm">-x</A></TD> <TD><A href="exclude.htm">Exclude filenames</A></TD></TR> +<TR> <TD><A href="yes.htm">-y</A></TD> <TD><A href="yes.htm">Assume Yes on all queries</A></TD></TR> +</TABLE> + +</BODY> +</HTML> diff --git a/src/libs/7zip/unix/DOCS/MANUAL/switches/large_pages.htm b/src/libs/7zip/unix/DOCS/MANUAL/switches/large_pages.htm new file mode 100644 index 000000000..82fd5b77d --- /dev/null +++ b/src/libs/7zip/unix/DOCS/MANUAL/switches/large_pages.htm @@ -0,0 +1,50 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<HTML> +<HEAD> + <META http-equiv="Content-Type" content="text/html; charset=Windows-1252"> + <TITLE>-slp (Set Large Pages mode) switch</TITLE> + <LINK href="style.css" rel="stylesheet" type="text/css"> +</HEAD> + +<BODY> + +<H1>-slp (Set Large Pages mode) switch</H1> + +<P>Sets Large Pages mode.</P> + +<H4>Syntax</H4> + +<PRE class="syntax"> +-slp[-] +</PRE> + + +<TABLE> + <TR><TH width="80">Switch</TH> <TH>Description</TH></TR> + <TR><TD>-slp</TD> <TD>Enables Large Pages mode.</TD></TR> + <TR><TD>-slp-</TD> <TD>Disables Large Pages mode. This option is default for all commands.</TD></TR> +</TABLE> + +<P>Large Pages mode increases the speed of compression. +However, there is a pause at the start of compression while 7-Zip allocates the large pages in memory. +If 7-Zip can't allocate large pages, it allocates usual small pages. +Also, the Windows Task Manager doesn't show the real memory usage of the program, if 7-Zip uses large pages. +This feature works only on Windows 2003 / XP x64. +Also, it requires administrator's rights for your system. +The recommended size of RAM for this feature is 1 GB or more. +To install this feature, you must run the 7-Zip File Manager at least once, +close it, and then reboot the system.</P> +<P>Your system can hang for several seconds at compressing starting, if you use -slp mode. +So it's not recommended to use -slp mode to compress small data sets (less than 100 MB).</P> + + +<H4>Example</H4> + +<PRE class="example"> +7z a archive.7z -slp a.iso +</PRE> + +<P>compresses <SPAN class="filename">a.iso</SPAN> file with Large Pages mode switched on.</P> + +</BODY> +</HTML> diff --git a/src/libs/7zip/unix/DOCS/MANUAL/switches/list_tech.htm b/src/libs/7zip/unix/DOCS/MANUAL/switches/list_tech.htm new file mode 100644 index 000000000..aa8e522da --- /dev/null +++ b/src/libs/7zip/unix/DOCS/MANUAL/switches/list_tech.htm @@ -0,0 +1,36 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<HTML> +<HEAD> + <META http-equiv="Content-Type" content="text/html; charset=Windows-1252"> + <TITLE>-slt (Show technical information) switch</TITLE> + <LINK href="style.css" rel="stylesheet" type="text/css"> +</HEAD> + +<BODY> + +<H1>-slt (Show technical information) switch</H1> + +<P>Sets technical mode for <A href="../commands/list.htm">l (List)</A> command.</P> + +<H4>Syntax</H4> + +<PRE class="syntax"> +-slt +</PRE> + +<H4>Example</H4> + +<PRE class="example"> +7z l -slt archive.7z +</PRE> + +<P>shows detailed technical information for the files in <SPAN class="filename">archive.7z</SPAN>.</P> + +<H4>Commands that can be used with this switch</H4> + +<P> + <A href="../commands/list.htm">l (List)</A> +</P> + +</BODY> +</HTML> diff --git a/src/libs/7zip/unix/DOCS/MANUAL/switches/method.htm b/src/libs/7zip/unix/DOCS/MANUAL/switches/method.htm new file mode 100644 index 000000000..448dbdf59 --- /dev/null +++ b/src/libs/7zip/unix/DOCS/MANUAL/switches/method.htm @@ -0,0 +1,625 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<HTML> +<HEAD> + <META http-equiv="Content-Type" content="text/html; charset=Windows-1252"> + <TITLE>-m (Set compression Method) switch</TITLE> + <LINK href="style.css" rel="stylesheet" type="text/css"> +</HEAD> + +<BODY> + +<H1>-m (Set compression Method) switch</H1> + +<P>Specifies the compression method.</P> + +<H4>Syntax</H4> + +<PRE class="syntax"> +-m<method_parameters> + +</PRE> + +<P>The format for this switch depends on the archive type.</P> + +<UL> +<LI><TD><A class="parameter" href="#Zip">Zip</A></TD> +<LI><TD><A class="parameter" href="#GZ">GZip</A></TD> +<LI><TD><A class="parameter" href="#BZ2">BZip2</A></TD> +<LI><TD><A class="parameter" href="#7Z">7z</A></TD> +<LI><TD><A class="parameter" href="#XZ">XZ</A></TD> +</UL> + +<H2><A name="Zip"></A>Zip</H2> +<TABLE> + <TR> + <TH width="160">Parameter</TH> + <TH align="center">Default</TH> + <TH>Description</TH> </TR> + <TR> + <TD><A class="parameter" href="#ZipX">x=[0 | 1 | 3 | 5 | 7 | 9 ]</A></TD> + <TD align="center">5</TD> + <TD>Sets level of compression.</TD> </TR> + <TR> + <TD>m={MethodID}</TD> + <TD align="center">Deflate</TD> + <TD>Sets a method: Copy, Deflate, Deflate64, BZip2, LZMA, PPMd.</TD> </TR> + <TR> + <TD><A class="parameter" href="#Deflate_FastBytes">fb={NumFastBytes}</A></TD> + <TD align="center">32</TD> + <TD>Sets number of Fast Bytes for Deflate encoder.</TD> </TR> + <TR> + <TD><A class="parameter" href="#Zip_Pass">pass={NumPasses}</A></TD> + <TD align="center">1</TD> + <TD>Sets number of Passes for Deflate encoder.</TD></TR> + <TR> + <TD><A class="parameter" href="#ZipDictionarySize">d={Size}[b|k|m]</A></TD> + <TD align="center">900000</TD> + <TD>Sets Dictionary size for BZip2</TD></TR> + <TR> + <TD><A class="parameter" href="#ZipMemorySize">mem={Size}[b|k|m]</A></TD> + <TD align="center">24</TD> <TD>Sets size of used memory for PPMd.</TD></TR> + <TR> + <TD><A class="parameter" href="#ZipOrder">o={Size}</A></TD> + <TD align="center">8</TD> <TD>Sets model order for PPMd.</TD></TR> + <TR> + <TD><A class="parameter" href="#ZipMultiThread">mt=[off | on | {N}]</A></TD> + <TD align="center">on</TD> + <TD>Sets multithreading mode.</TD></TR> + <TR> + <TD>em={EncryptionMethodID}</TD> + <TD align="center">ZipCrypto</TD> + <TD>Sets a encryption method: ZipCrypto, AES128, AES192, AES256</TD> </TR> + <TR> <TD><A class="parameter">tc=[off | on]</A></TD> + <TD align="center">off</TD> <TD>Stores NTFS timestamps for files: Modification time, Creation time, Last access time.</TD> </TR> + <TR> <TD><A class="parameter">cl=[off | on]</A></TD> + <TD align="center">off</TD> <TD>7-Zip always uses local code page for file names.</TD> </TR> + <TR> <TD><A class="parameter">cu=[off | on]</A></TD> + <TD align="center">off</TD> <TD>7-Zip uses UTF-8 for file names that contain non-ASCII symbols.</TD> </TR> +</TABLE> + +<P>By default (if <B>cl</B> and <B>cu</B> switches are not specified), 7-Zip uses UTF-8 encoding +only for file names that contain symbols unsupported by local code page.</P> + +<DL> + <DT><A name="ZipX"></A>x=[0 | 1 | 3 | 5 | 7 | 9 ]</DT> + <DD> + <P>Sets level of compression. x=0 means Copy mode (no compression).</P> + <P>Deflate / Deflate64 settings:</P> + <TABLE> + <TR> <TH>Level</TH> <TH>NumFastBytes</TH> <TH>NumPasses</TH> <TH>Description</TH> </TR> + <TR> <TD class="cc">1</TD> <TD class="cc" rowspan=3>32</TD> <TD class="cc" rowspan=3>1</TD> <TD>Fastest</TD> </TR> + <TR> <TD class="cc">3</TD> <TD>Fast</TR> + <TR> <TD class="cc">5</TD> <TD>Normal</TR> + <TR> <TD class="cc">7</TD> <TD class="cc">64</TD> <TD class="cc">3</TD> <TD>Maximum</TD> </TR> + <TR> <TD class="cc">9</TD> <TD class="cc">128</TD> <TD class="cc">10</TD> <TD>Ultra</TD> </TR> + </TABLE> + + <P>x=1 and x=3 with Deflate method set fast mode for compression.</P> + + <P>BZip2 settings:</P> + <TABLE> + <TR> <TH>Level</TH> <TH>Dictionary</TH> <TH>NumPasses</TH> <TH>Description</TH> </TR> + <TR> <TD class="cc">1</TD> <TD class="cc">100000</TD> <TD class="cc" rowspan=3>1</TD> <TD>Fastest</TD> </TR> + <TR> <TD class="cc">3</TD> <TD class="cc">500000</TD> <TD>Fast</TD> </TR> + <TR> <TD class="cc">5</TD> <TD class="cc" rowspan=3>900000</TD> <TD>Normal</TD> </TR> + <TR> <TD class="cc">7</TD> <TD align="center">2</TD> <TD>Maximum</TD> </TR> + <TR> <TD class="cc">9</TD> <TD align="center">7</TD> <TD>Ultra</TD> </TR> + </TABLE> + </DD> + + <DT><A name="Deflate_FastBytes"></A>fb={NumFastBytes}</DT> + <DD> + <P>Sets the number of fast bytes for the Deflate/Deflate64 encoder. + It can be in the range from 3 to 258 (257 for Deflate64). + Usually, a big number gives a little bit better + compression ratio and a slower compression process. + A large fast bytes parameter can significantly increase the compression ratio + for files which contain long identical sequences of bytes.</P> + </DD> + <DT><A name="Zip_Pass"></A>pass={NumPasses}</DT> + <DD> + <P>Sets number of passes for Deflate encoder. It can be in the range from 1 to 15 for Deflate and + from 1 to 10 for BZip2. Usually, a big number gives a little bit better + compression ratio and a slower compression process. + </P> + </DD> + <DT><A name="ZipDictionarySize"></A>d={Size}[b|k|m]</DT> + <DD> + <P> Sets the Dictionary size for BZip2. You must specify the size in bytes, kilobytes, or megabytes. + The maximum value for the Dictionary size is 900000b. If you do not specify any symbol + from set [b|k|m], dictionary size will be calculated as DictionarySize = 2^Size bytes.</P> + </DD> + + <DT><A name="ZipMemorySize"></A>mem={Size}[b|k|m]</DT> + <DD> + <P> Sets the size of memory used for PPMd. You must specify the size in bytes, kilobytes, or megabytes. + The maximum value is 256 MB = 2^28 bytes. The default value + is 24 (16MB). If you do not specify any symbol from the set [b|k|m], the + memory size will be calculated as (2^Size) bytes. PPMd uses the same + amount of memory for compression and decompression.</P> + </DD> + + <DT><A name="ZipOrder"></A>o={Size}</DT> + <DD> + <P>Sets the model order for PPMd. The size must be in the range [2,16]. The default value is 8.</P> + </DD> + + <DT><A name="ZipMultiThread"></A>mt=[off | on | {N}]</DT> + <DD> + <P>Sets multithread mode. If you have a multiprocessor or multicore system, + you can get a speed increase with + this switch. This option affects only compression (with any method) and + decompression of BZip2 streams. + Each thread in the multithread mode uses 32 MB of RAM for buffering. + If you specify {N}, 7-Zip tries to use N threads.</P> + </DD> +</DL> + +<H2><A name="GZ"></A>GZip</H2> +GZip uses the same parameters as Zip, but GZip compresses only with Deflate method. +So GZip supports only the following parameters: x, fb, pass. + +<H2><A name="BZ2"></A>BZip2</H2> +<TABLE> + <TR> + <TH width="160">Parameter</TH> + <TH align="center">Default</TH> + <TH>Description</TH> </TR> + <TR> + <TD><A class="parameter" href="#BZip2X">x=[1 | 3 | 5 | 7 | 9 ]</A></TD> + <TD align="center">5</TD> + <TD>Sets level of compression.</TD> </TR> + <TR> + <TD><A class="parameter" href="#BZip2Pass">pass={NumPasses}</A></TD> + <TD align="center">1</TD> + <TD>Sets number of Passes for Bzip2 encoder.</TD></TR> + <TR> + <TD><A class="parameter" href="#BZip2DictionarySize">d={Size}[b|k|m]</A></TD> + <TD align="center">900000</TD> + <TD>Sets Dictionary size for BZip2</TD></TR> + <TR> + <TD><A class="parameter" href="#BZip2MultiThread">mt=[off | on | {N}]</A></TD> + <TD align="center">on</TD> + <TD>Sets multithreading mode.</TD></TR> +</TABLE> + +<DL> + <DT><A name="BZip2"></A>x=[1 | 3 | 5 | 7 | 9 ]</DT> + <DD> + <P>Sets level of compression</P> + <TABLE> + <TR> <TH>Level</TH> <TH>Dictionary</TH> <TH>NumPasses</TH> <TH>Description</TH> </TR> + <TR> <TD class="cc">1</TD> <TD class="cc">100000</TD> <TD class="cc" rowspan=3>1</TD> <TD>Fastest</TD> </TR> + <TR> <TD class="cc">3</TD> <TD class="cc">500000</TD> <TD>Fast</TD> </TR> + <TR> <TD class="cc">5</TD> <TD class="cc" rowspan=3>900000</TD> <TD>Normal</TD> </TR> + <TR> <TD class="cc">7</TD> <TD align="center">2</TD> <TD>Maximum</TD> </TR> + <TR> <TD class="cc">9</TD> <TD align="center">7</TD> <TD>Ultra</TD> </TR> + </TABLE> + </DD> + + <DT><A name="BZip2DictionarySize"></A>d={Size}[b|k|m]</DT> + <DD> + <P> Sets the Dictionary size for BZip2. You must specify the size in bytes, kilobytes, or megabytes. + The maximum value for the Dictionary size is 900000b. If you do not specify any symbol + from set [b|k|m], dictionary size will be calculated as DictionarySize = 2^Size bytes.</P> + </DD> + + <DT><A name="#BZip2Pass"></A>pass={NumPasses}</DT> + <DD> + <P>Sets the number of passes. It can be in the range from 1 to 10. + The default value is 1 for normal mode, 2 for maximum mode and 7 for ultra mode. + A bigger number can give a little bit better compression ratio and a slower compression process. + </P> + </DD> + <DT><A name="BZip2MultiThread"></A>mt=[off | on | {N}]</DT> + <DD> + <P>Sets multithread mode. If you have a multiprocessor or multicore system, + you can get a speed increase with + this switch. If you specify {N}, for example mt=4, 7-Zip tries to use 4 threads.</P> + </DD> +</DL> + +<H2><A name="7Z"></A>7z</H2> +<TABLE> + <TR> <TH width="80">Parameter</TH> <TH align="center">Default</TH> <TH>Description</TH> </TR> + <TR> <TD><A class="parameter" href="#SevenZipX">x=[0 | 1 | 3 | 5 | 7 | 9 ]</A></TD> + <TD align="center">5</TD><TD>Sets level of compression.</TD> </TR> + <TR> <TD><A class="parameter" href="#Solid">s=[off | on | [e] [{N}f] [{N}b | {N}k | {N}m | {N}g]</A></TD> + <TD align="center">on</TD> <TD>Sets solid mode.</TD> </TR> + <TR> <TD><A class="parameter" href="#Filter">f=[off | on]</A></TD> + <TD align="center">on</TD> <TD>Enables or disables compression filters for executable files.</TD> </TR> + <TR> <TD><A class="parameter" href="#HeaderCompress">hc=[off | on]</A></TD> + <TD align="center">on</TD> <TD>Enables or disables archive header compressing.</TD> </TR> + <TR> <TD><A class="parameter" href="#HeaderEncrypt">he=[off | on]</A></TD> + <TD align="center">off</TD> <TD>Enables or disables archive header encryption.</TD> </TR> + <TR> <TD><A class="parameter" href="#Bind">b{C1}[s{S1}]:{C2}[s{S2}]</A></TD> + <TD align="center"> </TD> <TD>Sets binding beetwen coders.</TD> </TR> + <TR> <TD><A class="parameter" href="#MethodID">{N}={MethodID}[:param1][:param2][..]</A></TD> + <TD align="center">LZMA</TD> <TD>Sets a method: LZMA, LZMA2, PPMd, BZip2, Deflate, Delta, BCJ, BCJ2, Copy.</TD> </TR> + <TR> <TD><A class="parameter" href="#MultiThread">mt=[off | on | {N}]</A></TD> + <TD align="center">on</TD> <TD>Sets multithreading mode.</TD> </TR> + <TR> <TD><A class="parameter">tc=[off | on]</A></TD> + <TD align="center">off</TD> <TD>Stores file creation timestamps.</TD> </TR> +</TABLE> + +<DL> + <DT><A name="SevenZipX"></A>x=[0 | 1 | 3 | 5 | 7 | 9 ]</DT> + <DD> + <P>Sets level of compression</P> + <TABLE> + <TR> <TH>Level</TH> <TH>Method</TH> <TH>Dictionary</TH> <TH>FastBytes</TH> <TH>MatchFinder</TH> <TH>Filter</TH> <TH>Description</TH> </TR> + <TR> <TD align="center">0</TD> <TD align="center">Copy</TD> <TD align="center"></TD> <TD align="center"></TD> <TD align="center"></TD> <TD align="center"></TD> <TD>No compression.</TD> </TR> + <TR> <TD align="center">1</TD> <TD align="center">LZMA</TD> <TD align="center">64 KB</TD> <TD align="center">32</TD> <TD align="center">HC4</TD> <TD align="center">BCJ</TD> <TD>Fastest compressing</TD> </TR> + <TR> <TD align="center">3</TD> <TD align="center">LZMA</TD> <TD align="center">1 MB</TD> <TD align="center">32</TD> <TD align="center">HC4</TD> <TD align="center">BCJ</TD> <TD>Fast compressing</TD> </TR> + <TR> <TD align="center">5</TD> <TD align="center">LZMA</TD> <TD align="center">16 MB</TD> <TD align="center">32</TD> <TD align="center">BT4</TD> <TD align="center">BCJ</TD> <TD>Normal compressing</TD> </TR> + <TR> <TD align="center">7</TD> <TD align="center">LZMA</TD> <TD align="center">32 MB</TD> <TD align="center">64</TD> <TD align="center">BT4</TD> <TD align="center">BCJ</TD> <TD>Maximum compressing</TD> </TR> + <TR> <TD align="center">9</TD> <TD align="center">LZMA</TD> <TD align="center">64 MB</TD> <TD align="center">64</TD> <TD align="center">BT4</TD> <TD align="center">BCJ2</TD><TD>Ultra compressing</TD> </TR> + </TABLE> + <P>Note: "x" works as "x=9".</P> + </DD> + + <DT><A name="Solid"></A>s=[off | on | [e] [{N}f] [{N}b | {N}k | {N}m | {N}g)]</DT> + <DD> + <P> Enables or disables solid mode. The default mode is s=on. + In solid mode, files are grouped together. Usually, compressing in + solid mode improves the compression ratio.</P> + + <TABLE> + <TR> <TD>e</TD> <TD>Use a separate solid block for each new file extension</TD> </TR> + <TR> <TD>{N}f</TD> <TD>Set the limit for number of files in one solid block</TD> </TR> + <TR> <TD>{N}b | {N}k | {N}m | {N}g</TD> <TD>Set a limit for the total size of a solid block in bytes</TD> </TR> + </TABLE> + + <P>These are the default limits for the solid block size:</P> + + <TABLE> + <TR> <TH width="150">Compression Level</TH> <TH>Solid block size</TH> </TR> + <TR> <TD>Store</TD> <TD>0 B</TD> </TR> + <TR> <TD>Fastest</TD> <TD>16 MB</TD> </TR> + <TR> <TD>Fast</TD> <TD>128 MB</TD> </TR> + <TR> <TD>Normal</TD> <TD>2 GB</TD> </TR> + <TR> <TD>Maximum</TD> <TD>4 GB</TD> </TR> + <TR> <TD>Ultra</TD> <TD>4 GB</TD> </TR> + </TABLE> + + + <P>Limitation of the solid block size usually decreases compression ratio but gives the following advantages:</P> + <UL> + <LI>Decreases losses in case of future archive damage. + <LI>Decreases extraction time of a group of files (or just one + file), so long as the group doesn't contain the entire archive.</LI></LI> + </UL> + <P>The updating of solid .7z archives can be slow, since it + can require some recompression.</P> + + <P>Example:</P> + <PRE class="example"> + s=100f10m + </PRE> + <P>set solid mode with 100 files & 10 MB limits per one solid block.</P> + + <DT><A name="Filter"></A>f=[off | on]</DT> + <DD> + <P>Enables or disables compression filters for executable files: + dll, exe, ocx, sfx, sys. It uses BCJ2 filter in Ultra mode and BCJ + filter in other modes. The default mode is f=on. + </P> + <DT><A name="HeaderCompress"></A>hc=[off | on]</DT> + <DD> + <P> Enables or disables archive header compressing. The default mode is hc=on. + If archive header compressing is enabled, some parts of archive header will + be compressed with LZMA method. + </P> + <DT><A name="HeaderEncrypt"></A>he=[off | on]</DT> + <DD> + <P> Enables or disables archive header encryption. The default mode is he=off. + </P> + <DT>{N}</DT> + <DD> + <P>Sets order of methods. It is used also to associate parameters with + methods. Numbers must begin from 0. Methods that have smaller numbers will be used + before others.</P> + </DD> + + <DT><A name="Bind"></A>b{C1}[s{S1}]:{C2}[s{S2}]</DT> + <DD> + <P> Binds output stream S1 in coder C1 with input stream S2 in coder C2. + If stream number is not specified, stream with number 0 will be used. + </P> + <P> Usally coder has one input stream and + one output stream. In 7z some coders can have multiple input and output streams.</P> + + <P>For example, <A class="parameter" href="#BCJ2">BCJ2</A> encoder has one + input stream and four output streams.</P> + </DD> + + <DT><A name="MultiThread"></A>mt=[off | on | {N}]</DT> + <DD> + <P>Sets multithread mode. If you have a multiprocessor or multicore system, + you can get a increase with this switch. + 7-Zip supports multithread mode only for LZMA / LZMA2 compression and + BZip2 compression / decompression. If you specify {N}, for example mt=4, + 7-Zip tries to use 4 threads. LZMA compression uses only 2 threads. + </P> + </DD> + + <DT><A name="MethodID"></A>{N}={MethodID}[:param1][:param2] ... [:paramN]</DT> + <DD> + <P>Sets compression method. You can use any number of methods. + The default method is LZMA. </P> + <P>Parameters must be in one of the following forms:</P> + <UL> + <LI>{ParamName}={ParamValue}. + <LI>{ParamName}{ParamValue}, if {ParamValue} + is number and {ParamName} doesn't contain numbers. + </UL> + + <P>Supported methods:</P> + <TABLE> + <TR> <TH width="60">MethodID</TH> <TH>Description</TH> </TR> + <TR> <TD><A class="parameter" href="#LZMA">LZMA</A></TD> <TD>LZ-based algorithm</TD> </TR> + <TR> <TD><A class="parameter" href="#LZMA2">LZMA2</A></TD> <TD>LZMA-based algorithm</TD> </TR> + <TR> <TD><A class="parameter" href="#PPMd">PPMd</A></TD> <TD>Dmitry Shkarin's PPMdH with small changes</TD> </TR> + <TR> <TD>BZip2</TD> <TD>BWT algorithm</TD> </TR> + <TR> <TD>Deflate</TD> <TD>LZ+Huffman</TD> </TR> + <TR> <TD>Copy</TD> <TD>No compression</TD> </TR> + </TABLE> + + <P>Supported filters:</P> + <TABLE> + <TR> <TH width="60">MethodID</TH> <TH>Description</TH> </TR> + <TR> <TD><A class="parameter" href="#Delta">Delta</A></TD> <TD>Delta filter</TD> </TR> + <TR> <TD>BCJ</TD> <TD>converter for x86 executables</TD> </TR> + <TR> <TD><A class="parameter" href="#BCJ2">BCJ2</A></TD> <TD>converter for x86 executables (version 2)</TD> </TR> + <TR> <TD>ARM</TD> <TD>converter for ARM (little endian) executables</TD> </TR> + <TR> <TD>ARMT</TD> <TD>converter for ARM Thumb (little endian) executables</TD> </TR> + <TR> <TD>IA64</TD> <TD>converter for IA-64 executables</TD> </TR> + <TR> <TD>PPC</TD> <TD>converter for PowerPC (big endian) executables</TD> </TR> + <TR> <TD>SPARC</TD> <TD>converter for SPARC executables</TD> </TR> + </TABLE> + <P>Filters increase the compression ratio for some types of files. Filters + must be used with one of the compression method (for example, BCJ + LZMA).</P> + </DD> + + <H4><A name="LZMA"></A>LZMA</H4> + <P> LZMA is an algorithm based on Lempel-Ziv algorithm. + It provides very fast decompression (about 10-20 times faster than compression). + Memory requirements for compression and decompression also are different (see + <A class="parameter" href="#DictionarySize">d={Size}[b|k|m]</A> switch for details).</P> + + <TABLE> + <TR> <TH width="80">Parameter</TH> <TH align="center">Default</TH> <TH>Description</TH> </TR> + + <TR> <TD><A class="parameter" href="#LZMAMode">a=[0|1]</A></TD> + <TD align="center">1</TD> <TD>Sets compressing mode</TD> </TR> + <TR> <TD><A class="parameter" href="#DictionarySize">d={Size}[b|k|m]</A></TD> + <TD align="center">24</TD> <TD>Sets Dictionary size</TD> </TR> + <TR> <TD><A class="parameter" href="#MatchFinder">mf={MF_ID}</A></TD> + <TD align="center">bt4</TD> <TD>Sets Match Finder</TD> </TR> + <TR> <TD><A class="parameter" href="#FastBytes">fb={N}</A></TD> + <TD align="center">32</TD> <TD>Sets number of Fast Bytes</TD></TR> + <TR> <TD><A class="parameter" href="#MatchFinderCycles">mc={N}</A></TD> + <TD align="center">32</TD><TD>Sets Number of Cycles for Match Finder</TD> </TR> + <TR> <TD><A class="parameter" href="#LitContext">lc={N}</A></TD> + <TD align="center">3</TD> <TD>Sets number of Literal Context bits - [0, 8]</TD></TR> + <TR> <TD><A class="parameter" href="#LitPos">lp={N}</A></TD> + <TD align="center">0</TD> <TD>Sets number of Literal Pos bits - [0, 4]</TD></TR> + <TR> <TD><A class="parameter" href="#PosBits">pb={N}</A></TD> + <TD align="center">2</TD> <TD>Set number of Pos Bits - [0, 4]</TD></TR> + </TABLE> + + + <DL> + <DT><A name="#LZMAMode"></A>a=[0|1]</DT> + <DD> + <P> Sets compression mode: 0 = fast, 1 = normal. + Default value is 1.</P> + </DD> + <DT><A name="DictionarySize"></A>d={Size}[b|k|m]</DT> + <DD> + <P> Sets Dictionary size for LZMA. You must specify the size in bytes, kilobytes, or megabytes. + The maximum value for dictionary size is 1 GB = 2^30 bytes. Default values for LZMA + are 24 (16 MB) in normal mode, 25 (32 MB) in maximum mode (-mx=7) + and 26 (64 MB) in ultra mode (-mx=9). + If you do not specify any symbol from the set [b|k|m], the + dictionary size will be calculated as DictionarySize = 2^Size bytes. + For decompressing a file compressed by LZMA method with dictionary size N, you need + about N bytes of memory (RAM) available. + </P> + </DD> + <DT><A name="MatchFinder"></A>mf={MF_ID}</DT> + <DD> + <P> Sets Match Finder for LZMA. Default method is bt4. + Algorithms from hc* group don't provide a good compression ratio, + but they often work pretty fast in combination with fast mode (a=0). + Memory requirements depend on dictionary size (parameter "d" in table below). + </P> + <TABLE> + <TR> <TH>MF_ID</TH> <TH class="cc">Dictionary</TH> <TH class="cc" colspan = 2>Memory Usage</TH> <TH class="cc" colspan = 2>Description</TH> </TR> + <TR> <TD class="cc">bt2</TD> <TD></TD> <TD align="right"> 9.5 * d</TD> <TD class="cc" rowspan=6> + 4 MB</TD> <TD class="cc" rowspan=4>Binary Tree</TD> <TD>2 bytes hashing</TD> </TR> + <TR> <TD class="cc">bt3</TD> <TD></TD> <TD align="right">11.5 * d</TD> <TD>3 bytes hashing</TD> </TR> + <TR> <TD class="cc" rowspan=2>bt4</TD> <TD class="cc">64 KB ... 48 MB</TD> <TD align="right">11.5 * d</TD> <TD class="cc" rowspan=6>4 bytes hashing</TD> </TR> + <TR> <TD class="cc">64 MB ... 1024 MB</TD> <TD align="right">10.5 * d</TD> </TR> + <TR> <TD class="cc" rowspan=2>hc4</TD> <TD class="cc">64 KB ... 48 MB</TD> <TD align="right"> 7.5 * d</TD> <TD class="cc" rowspan=2>Hash Chain </TD></TR> + <TR> <TD class="cc">64 MB ... 1024 MB</TD> <TD align="right"> 6.5 * d</TD> </TR> + </TABLE> + <P>Note: Your operation system also needs some amount of physical memory for internal purposes. + So keep at least 32MB of physical memory unused.</P> + </DD> + + <DT><A name="FastBytes"></A>fb={N}</DT> + <DD> + <P>Sets number of fast bytes for LZMA. It can be in the range from 5 to 273. + The default value is 32 for normal mode and 64 for maximum and ultra modes. + Usually, a big number gives a little bit better + compression ratio and slower compression process. + </P> + </DD> + <DT><A name="MatchFinderCycles"></A>mc={N}</DT> + <DD> + <P>Sets number of cycles (passes) for match finder. It can be in range from 0 to 1000000000. + Default value is (16 + number_of_fast_bytes / 2) for BT* match finders and + (8 + number_of_fast_bytes / 4) for HC4 match finder. + If you specify mc=0, LZMA will use default value. + Usually, a big number gives a little bit better compression ratio and slower + compression process. For example, mf=HC4 and mc=10000 can provide almost the same + compression ratio as mf=BT4.</P> + </DD> + <DT><A name="LitContext"></A>lc={N}</DT> + <DD> + <P>Sets the number of literal context bits (high bits of previous literal). + It can be in range from 0 to 8. + Default value is 3. Sometimes lc=4 gives gain for big files.</P> + </DD> + <DT><A name="LitPos"></A>lp={N}</DT> + <DD> + <P>Sets the number of literal pos bits (low bits of current position for literals). + It can be in the range from 0 to 4. + The default value is 0. The lp switch is intended for periodical data when the + period is equal to 2^value (where lp=value). For example, for 32-bit (4 bytes) + periodical data you can use lp=2. Often it's better to set lc=0, + if you change lp switch.</P> + </DD> + <DT><A name="PosBits"></A>pb={N}</DT> + <DD> + <P>Sets the number of pos bits (low bits of current position). + It can be in the range from 0 to 4. + The default value is 2. The pb switch is intended for periodical data when the + period is equal 2^value (where lp=value). </P> + </DD> + + </DL> + + <H4><A name="LZMA2"></A>LZMA2</H4> + <P>LZMA2 is modified version of LZMA. it provides the following advantages over LZMA:</P> + <UL> + <LI>Better compression ratio for data than can't be compressed. LZMA2 can store such + blocks of data in uncompressed form. Also it decompresses such data faster. + <LI>Better multithreading support. If you compress big file, LZMA2 can split + that file to chunks and compress these chunks in multiple threads. + </UL> + + <TABLE> + <TR> <TH width="80">Parameter</TH> <TH align="center">Default</TH> <TH>Description</TH> </TR> + + <TR> <TD><A class="parameter" href="#ChunkSize">c={Size}[b|k|m]</A></TD> + <TD align="center">dictSize * 4</TD> <TD>Sets Chunk size</TD> </TR> + </TABLE> + + <P>If you don't specify ChunkSize, LZMA2 sets it to DictionarySize * 4.</P> + + <P>LZMA2 also supports all LZMA parameters, but lp+lc cannot be larger than 4.</P> + + <P>LZMA2 uses: 1 thread for each chunk in x1 and x3 modes; and + 2 threads for each chunk in x5, x7 and x9 modes. + If LZMA2 is set to use only such number of threads required for one chunk, + it doesn't split stream to chunks. So you can get different compression + ratio for different number of threads. You can get the best compression + ratio, when you use 1 or 2 threads.</P> + + <H4><A name="PPMd"></A>PPMd</H4> + <P> PPMd is a PPM-based algorithm. This algorithm is mostly based + on Dmitry Shkarin's PPMdH source code. PPMd provides very good compression ratio for + plain text files. There is no difference between compression speed and + decompression speed. Memory requirements for compression and decompression + also are the same.</P> + <TABLE> + <TR> <TH width="80">Parameter</TH> <TH align="center">Default</TH> <TH>Description</TH> </TR> + <TR> <TD><A class="parameter" href="#MemorySize">mem={Size}[b|k|m]</A></TD> + <TD align="center">24</TD> <TD>Sets size of used memory for PPMd.</TD> </TR> + <TR> <TD><A class="parameter" href="#Order">o={Size}</A></TD> + <TD align="center">6</TD> <TD>Sets model order for PPMd.</TD> </TR> + </TABLE> + <DL> + <DT><A name="MemorySize"></A>mem={Size}[b|k|m]</DT> + <DD> + <P> Sets the size of memory used for PPMd. You must specify the size in bytes, kilobytes, or megabytes. + The maximum value is 2GB = 2^31 bytes. The default value + is 24 (16MB). If you do not specify any symbol from the set [b|k|m], the + memory size will be calculated as (2^Size) bytes. PPMd uses the same + amount of memory for compression and decompression.</P> + </DD> + + <DT><A name="Order"></A>o={Size}</DT> + <DD> + <P>Sets the model order for PPMd. The size must be in the range [2,32]. The default value is 6.</P> + </DD> + </DL> + + <H4><A name="BCJ2"></A>BCJ2</H4> + <P>BCJ2 is a Branch converter for 32-bit x86 executables (version 2). + It converts some branch instructions for increasing further compression.</P> + <P>A BCJ2 encoder has one input stream and four output streams:</P> + <UL> + <LI>s0: main stream. It requires further compression.</LI> + <LI>s1: stream for converted CALL values. It requires further compression.</LI> + <LI>s2: stream for converted JUMP values. It requires further compression.</LI> + <LI>s3: service stream. It is already compressed.</LI> + </UL> + <P>If LZMA is used, the size of the dictionary for streams + s1 and s2 can be much smaller (512 KB is enough for most cases) + than the dictionary size for stream s0.</P> + + <H4><A name="Delta"></A>Delta</H4> + <P>It's possible to set delta offset in bytes. For example, to compress 16-bit stereo + WAV files, you can set "0=Delta:4". Default delta offset is 1.</P> +</DL> + +<H2><A name="XZ"></A>XZ</H2> +XZ supports only LZMA2 codec now. The switches are similar to switches for 7z format. + +<H4>Examples</H4> + +<PRE class="example"> +7z a -tzip archive.zip *.jpg -mx0 +</PRE> + +<P>adds <SPAN class="filename">*.jpg</SPAN> files to + <SPAN class="filename">archive.zip</SPAN> archive without compression.</P> + +<PRE class="example"> +7z a -t7z archive.7z *.exe *.dll -m0=BCJ -m1=LZMA:d=21 -ms -mmt +</PRE> + +<P>adds <SPAN class="filename">*.exe</SPAN> and <SPAN class="filename">*.dll</SPAN> +files to solid archive <SPAN class="filename">archive.7z</SPAN> using LZMA method with +2 MB dictionary and BCJ converter. Compression will use multithreading optimization.</P> + +<PRE class="example"> +7z a -t7z archive.7z *.exe *.dll -m0=BCJ2 -m1=LZMA:d23 -m2=LZMA:d19 -m3=LZMA:d19 + -mb0:1 -mb0s1:2 -mb0s2:3 +</PRE> + +<P>adds <SPAN class="filename">*.exe</SPAN> and <SPAN class="filename">*.dll</SPAN> + files to archive <SPAN class="filename">archive.7z</SPAN> using BCJ2 converter, + LZMA with 8 MB dictionary for main output stream (s0), + and LZMA with 512 KB dictionary for s1 and s2 output streams of BCJ2.</P> + + +<PRE class="example"> +7z a -t7z archive.7z *.txt -m0=PPMd +</PRE> + +<P>adds <SPAN class="filename">*.txt</SPAN> files to archive +<SPAN class="filename">archive.7z</SPAN> using PPMd method.</P> + + + + +<H4>Commands that can be used with this switch</H4> + +<P> + <A href="../commands/add.htm">a (Add)</A>, + <A href="../commands/delete.htm">d (Delete)</A>, + <A href="../commands/update.htm">u (Update)</A>, +</P> + +<H4>See also</H4> + +<P> + <B>Switches:</B> + <A href="type.htm">-t (set Type of archive)</A>, +</P> + +</BODY> +</HTML> diff --git a/src/libs/7zip/unix/DOCS/MANUAL/switches/output_dir.htm b/src/libs/7zip/unix/DOCS/MANUAL/switches/output_dir.htm new file mode 100644 index 000000000..b4523493b --- /dev/null +++ b/src/libs/7zip/unix/DOCS/MANUAL/switches/output_dir.htm @@ -0,0 +1,53 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<HTML> +<HEAD> + <META http-equiv="Content-Type" content="text/html; charset=Windows-1252"> + <TITLE>-o (set Output directory) switch</TITLE> + <LINK href="style.css" rel="stylesheet" type="text/css"> +</HEAD> + +<BODY> + +<H1>-o (set Output directory) switch</H1> + +<P>Specifies a destination directory where files are to be extracted.</P> +<P>This switch can be used only with extraction commands.</P> + +<H4>Syntax</H4> + +<PRE class="syntax"> +-o{dir_path} +</PRE> + +<DL> + <DT>{dir_path}</DT> + <DD>This is the destination directory path. It's not required to end with a backslash. + If you specify <B>*</B> in {dir_path}, 7-Zip substitutes that * character to archive name.</DD> +</DL> + + +<H4>Example</H4> + +<PRE class="example"> +7z x archive.zip -oc:\Doc +</PRE> + +<P>extracts all files from the <SPAN class="filename">archive.zip</SPAN> archive +to the <SPAN class="filename">c:\Doc</SPAN> directory.</P> + +<PRE class="example"> +7z x *.zip -o* +</PRE> + +<P>extracts all <SPAN class="filename">*.zip</SPAN> archives to subfolders +with names of these archives.</P> + +<H4>Commands that can be used with this switch</H4> + +<P> + <A href="../commands/extract.htm">e (Extract)</A>, + <A href="../commands/extract_full.htm">x (Extract with full paths)</A> +</P> + +</BODY> +</HTML> diff --git a/src/libs/7zip/unix/DOCS/MANUAL/switches/overwrite.htm b/src/libs/7zip/unix/DOCS/MANUAL/switches/overwrite.htm new file mode 100644 index 000000000..c71ae40d8 --- /dev/null +++ b/src/libs/7zip/unix/DOCS/MANUAL/switches/overwrite.htm @@ -0,0 +1,56 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<HTML> +<HEAD> + <META http-equiv="Content-Type" content="text/html; charset=Windows-1252"> + <TITLE>-ao (Overwrite mode) switch</TITLE> + <LINK href="style.css" rel="stylesheet" type="text/css"> +</HEAD> + +<BODY> + +<H1>-ao (Overwrite mode) switch</H1> + +<P>Specifies the overwrite mode during extraction, to overwrite files already present on disk.</P> + +<H4>Syntax</H4> + +<PRE class="syntax"> +-ao[a | s | t | u ] +</PRE> + + +<TABLE> + <TR> <TH width="80">Switch</TH> <TH>Description</TH> </TR> + <TR> <TD>-aoa</TD> <TD>Overwrite All existing files without prompt.</TD> </TR> + <TR> <TD>-aos</TD> <TD>Skip extracting of existing files.</TD> </TR> + <TR> <TD>-aou</TD> <TD>aUto rename extracting file (for example, name.txt will + be renamed to name_1.txt).</TD> </TR> + <TR> <TD>-aot</TD> <TD>auto rename existing file (for example, name.txt will + be renamed to name_1.txt).</TD> </TR> +</TABLE> + +<H4>Examples</H4> + +<PRE class="example"> +7z x test.zip -aoa +</PRE> + +<P>extracts all files from <SPAN class="filename">test.zip</SPAN> archive and overwrites +existing files without any prompt.</P> + +<H4>Commands that can be used with this switch</H4> + +<P> + <A href="../commands/extract.htm">e (Extract)</A>, + <A href="../commands/extract_full.htm">x (Extract with full paths)</A> +</P> + +<H4>See also</H4> + +<P> + <B>Switches:</B> + <A href="yes.htm">-y (assume Yes on all queries)</A>, +</P> + +</BODY> +</HTML> diff --git a/src/libs/7zip/unix/DOCS/MANUAL/switches/password.htm b/src/libs/7zip/unix/DOCS/MANUAL/switches/password.htm new file mode 100644 index 000000000..733dfc4a7 --- /dev/null +++ b/src/libs/7zip/unix/DOCS/MANUAL/switches/password.htm @@ -0,0 +1,54 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<HTML> +<HEAD> + <META http-equiv="Content-Type" content="text/html; charset=Windows-1252"> + <TITLE>-p (set Password) switch</TITLE> + <LINK href="style.css" rel="stylesheet" type="text/css"> +</HEAD> + +<BODY> + +<H1>-p (set Password) switch</H1> + +<P>Specifies password.</P> + +<H4>Syntax</H4> + +<PRE class="syntax"> +-p{password} +</PRE> + +<DL> + <DT>{password}</DT> + <DD>Specifies password.</DD> +</DL> + + +<H4>Examples</H4> + +<PRE class="example"> +7z a archive.7z -psecret -mhe *.txt +</PRE> +<P>compresses *.txt files to <SPAN class="filename">archive.7z</SPAN> using password +"secret". Also it encrypts archive headers (-mhe switch), so filenames will be encrypted. +</P> + +<PRE class="example"> +7z x archive.zip -psecret +</PRE> +<P>extracts all files from <SPAN class="filename">archive.zip</SPAN> using password +"secret".</P> + +<H4>Commands that can be used with this switch</H4> + +<P> + <A href="../commands/add.htm">a (Add)</A>, + <A href="../commands/delete.htm">d (Delete)</A>, + <A href="../commands/extract.htm">e (Extract)</A>, + <A href="../commands/test.htm">t (Test)</A>, + <A href="../commands/update.htm">u (Update)</A>, + <A href="../commands/extract_full.htm">x (Extract with full paths)</A> +</P> + +</BODY> +</HTML> diff --git a/src/libs/7zip/unix/DOCS/MANUAL/switches/recurse.htm b/src/libs/7zip/unix/DOCS/MANUAL/switches/recurse.htm new file mode 100644 index 000000000..08dba2a4a --- /dev/null +++ b/src/libs/7zip/unix/DOCS/MANUAL/switches/recurse.htm @@ -0,0 +1,83 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<HTML> +<HEAD> + <META http-equiv="Content-Type" content="text/html; charset=Windows-1252"> + <TITLE>-r (Recurse subdirectories) switch</TITLE> + <LINK href="style.css" rel="stylesheet" type="text/css"> +</HEAD> + +<BODY> + +<H1>-r (Recurse subdirectories) switch</H1> + +<P>Specifies the method of treating wildcards and filenames on the command line.</P> + +<H4>Syntax</H4> + +<PRE class="syntax"> +-r[- | 0] +</PRE> + + +<TABLE> + <TR><TH width="80">Switch</TH> <TH>Description</TH></TR> + <TR><TD>-r</TD> <TD>Enable recurse subdirectories.</TD></TR> + <TR><TD>-r-</TD> <TD>Disable recurse subdirectories. This option is default for all commands.</TD></TR> + <TR><TD>-r0</TD> <TD>Enable recurse subdirectories only for wildcard names.</TD></TR> +</TABLE> + +<H4>Examples</H4> + +<PRE class="example"> +7z l archive.zip *.doc -r- +</PRE> + +<P>lists all <SPAN class="filename">*.doc</SPAN> files + that belong to the archived root directory + in the <SPAN class="filename">archive.zip</SPAN> archive. + </P> + +<PRE class="example"> +7z a -tzip archive.zip -r src\*.cpp src\*.h +</PRE> + +<P>adds all <SPAN class="filename">*.cpp</SPAN> and <SPAN class="filename">*.h</SPAN> + files from directory <SPAN class="filename">src</SPAN> and all it's subdirectories + to the <SPAN class="filename">archive.zip</SPAN> archive.</P> + +<PRE class="example"> +7z a archive.7z folder1\ +</PRE> + +<P>adds all files from directory <SPAN class="filename">folder1</SPAN> and all it's subdirectories + to the <SPAN class="filename">archive.7z</SPAN> archive.</P> + +<PRE class="example"> +7z a archive.7z -r folder2\ +</PRE> + +<P>searches all <SPAN class="filename">folder2</SPAN> directories in all subdirectories, + and adds them (including all subdirectories) to the <SPAN class="filename">archive.7z</SPAN> archive.</P> + +<H4>Commands that can be used with this switch</H4> + +<P> + <A href="../commands/add.htm">a (Add)</A>, + <A href="../commands/delete.htm">d (Delete)</A>, + <A href="../commands/extract.htm">e (Extract)</A>, + <A href="../commands/list.htm">l (List)</A>, + <A href="../commands/test.htm">t (Test)</A>, + <A href="../commands/update.htm">u (Update)</A>, + <A href="../commands/extract_full.htm">x (Extract with full paths)</A> +</P> + +<H4>See also</H4> + +<P> + <B>Switches:</B> + <A href="include.htm">-i (Include)</A>, + <A href="exclude.htm">-x (Exclude)</A> +</P> + +</BODY> +</HTML> diff --git a/src/libs/7zip/unix/DOCS/MANUAL/switches/sfx.htm b/src/libs/7zip/unix/DOCS/MANUAL/switches/sfx.htm new file mode 100644 index 000000000..126028963 --- /dev/null +++ b/src/libs/7zip/unix/DOCS/MANUAL/switches/sfx.htm @@ -0,0 +1,156 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<HTML> +<HEAD> + <META http-equiv="Content-Type" content="text/html; charset=Windows-1252"> + <TITLE>-sfx (Create SFX archive) switch</TITLE> + <LINK href="style.css" rel="stylesheet" type="text/css"> +</HEAD> + +<BODY> + +<H1>-sfx (Create SFX archive) switch</H1> + +<P>Creates self extracting archive.</P> + +<H4>Syntax</H4> + +<PRE class="syntax"> +-sfx[<A class="parameter" href="#SFX_Module">{SFX_Module}</A>] +</PRE> + +<DL> + <DT><A name="SFX_Module"></A>{SFX_Module}</DT> + <DD> + <P>Specifies the SFX module that will be combined with the archive. + This module must be placed in the same directory as the 7z.exe. + If {SFX_Module} is not assigned, 7-Zip will use standard console + SFX module 7zCon.sfx.</P> + <TABLE> + <TR> <TH width="60">SFX_Module</TH> <TH>Description</TH> </TR> + <TR> <TD>7z.sfx</TD> <TD>Windows version.</TD> </TR> + <TR> <TD>7zCon.sfx</TD> <TD>Console version.</TD> </TR> + <TR> <TD>7zS.sfx</TD> <TD>Windows version for installers.</TD> </TR> + <TR> <TD>7zSD.sfx</TD> <TD>Windows version for installers (uses MSVCRT.dll).</TD> </TR> + </TABLE> + </DD> +</DL> + +<P> +All SFX modules are uncompressed. You can use UPX program +(http://upx.sourceforge.net) +to compresss such modules. After compressing by the UPX program, the size of the +sfx module will be reduced to 40-50% of its original size. +</P> + +<H4>SFX modules for installers</H4> +<P>SFX modules for installers are included in an external package (7z_extra). You can download +these modules from www.7-zip.org. SFX modules for installers (7zS.sfx and 7zSD.sfx) +allow you to create your own installation program. +Such a module extracts the archive to the user's temp folder, and runs a specified program, +and removes the temp files after the program finishes. +A self-extracting archive for installers must be created as joining 3 files: +SFX_Module, Installer_Config, 7z_Archive. +In addition, an optional file, Installer_Config, is allowed. You can use the following command to +create an installer self-extracting archive:</P> +<PRE class="example"> +copy /b 7zS.sfx + config.txt + archive.7z archive.exe +</PRE> + +<P>An optimally small installation package size can be achieved, +if the installation files are uncompressed before including them in the 7z archive.</P> + +<P><SPAN class="filename">-y</SPAN> switch for installer module specifies quiet mode extraction.</P> + +<H4>Installer Config file format</H4> +<P> +This config file contains commands for the Installer. The file begins with the string +<B>;!@Install@!UTF-8!</B> and ends with <B>;!@InstallEnd@!</B>. +The file must be written in UTF-8 encoding. +The file contains any or all these string pairs: +<P>ID_String="Value"</P> +<P> + <TABLE> + <TR> <TH width="60">ID_String</TH> <TH>Description</TH> </TR> + <TR> <TD>Title</TD> <TD>Title for messages</TD> </TR> + <TR> <TD>BeginPrompt</TD> <TD>Begin Prompt message</TD> </TR> + <TR> <TD>Progress</TD> <TD>Value can be "yes" or "no". Default value is "yes".</TD> </TR> + <TR> <TD>RunProgram</TD> <TD>Command for executing. Default value is "setup.exe". Substring <B>%%T</B> + will be replaced with path to temporary folder, where files were extracted</TD> </TR> + <TR> <TD>Directory</TD> <TD>Directory prefix for "RunProgram". Default value is ".\\"</TD> </TR> + <TR> <TD>ExecuteFile</TD> <TD>Name of file for executing</TD> </TR> + <TR> <TD>ExecuteParameters</TD> <TD>Parameters for "ExecuteFile"</TD> </TR> + </TABLE> +</P> +<P>You may omit any pair.</P> + +<P>There are two ways to run a installation program: <B>RunProgram</B> and <B>ExecuteFile</B>. +Use <B>RunProgram</B>, if you want to run a program from the .7z archive. +Use <B>ExecuteFile</B>, if you want to open a document from the .7z archive, or +if you want to execute a command from Windows.</P> + +<P>If you use <B>RunProgram</B>, and if you specify empty directory prefix: <B>Directory</B>="", +the system searches for the executable file in the following sequence:</P> +<OL> +<LI>The directory from which the application (installer) loaded. +<LI>The temporary folder, where files were extracted. +<LI>The Windows system directory. +</OL> + +<H4>Config file Examples</H4> + +<PRE class="example"> +;!@Install@!UTF-8! +Title="7-Zip 4.00" +BeginPrompt="Do you want to install the 7-Zip 4.00?" +RunProgram="setup.exe" +;!@InstallEnd@! +</PRE> + +<BR> + + +<PRE class="example"> +;!@Install@!UTF-8! +Title="7-Zip 4.00" +BeginPrompt="Do you want to install the 7-Zip 4.00?" +ExecuteFile="7zip.msi" +;!@InstallEnd@! +</PRE> + +<BR> + +<PRE class="example"> +;!@Install@!UTF-8! +Title="7-Zip 4.01 Update" +BeginPrompt="Do you want to install the 7-Zip 4.01 Update?" +ExecuteFile="msiexec.exe" +ExecuteParameters="/i 7zip.msi REINSTALL=ALL REINSTALLMODE=vomus" +;!@InstallEnd@! +</PRE> + +<H4>Examples</H4> + +<PRE class="example"> +7z a -sfx a.exe *.txt +</PRE> + +<P>adds <SPAN class="filename">*.txt</SPAN> files to self extracting + archive <SPAN class="filename">a.exe</SPAN> using the default console SFX module.</P> + +<PRE class="example"> +7z a -sfx7z.sfx a.exe * +</PRE> + +<P>adds all files to self extracting archive <SPAN class="filename">a.exe</SPAN> +with module <SPAN class="filename">7z.sfx</SPAN> using windows version of SFX mudule.</P> + +<H4>Commands that can be used with this switch</H4> + +<P> + <A href="../commands/add.htm">a (Add)</A>, + <A href="../commands/delete.htm">d (Delete)</A>, + <A href="../commands/update.htm">u (Update)</A>, +</P> + +</BODY> +</HTML> diff --git a/src/libs/7zip/unix/DOCS/MANUAL/switches/ssc.htm b/src/libs/7zip/unix/DOCS/MANUAL/switches/ssc.htm new file mode 100644 index 000000000..023dbf88b --- /dev/null +++ b/src/libs/7zip/unix/DOCS/MANUAL/switches/ssc.htm @@ -0,0 +1,50 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<HTML> +<HEAD> + <META http-equiv="Content-Type" content="text/html; charset=Windows-1252"> + <TITLE>-ssc (Set Sensitive Case mode) switch</TITLE> + <LINK href="style.css" rel="stylesheet" type="text/css"> +</HEAD> + +<BODY> + +<H1>-ssc (Set Sensitive Case mode) switch</H1> + +<P>Sets sensitive case mode for file names.</P> + +<H4>Syntax</H4> + +<PRE class="syntax"> +-scs[-] +</PRE> + +<TABLE> + <TR><TH width="80">Switch</TH> <TH>Description</TH></TR> + <TR><TD>-ssc</TD> <TD>Set case-sensitive mode. It's default for Posix/Linux systems.</TD></TR> + <TR><TD>-ssc-</TD> <TD>Set case-insensitive mode. It's default for Windows systems.</TD></TR> +</TABLE> + +<H4>Example</H4> + +<PRE class="example"> +7z a archive.7z A*.txt -ssc -r +</PRE> + +<P>compresses all <SPAN class="filename">A*.txt</SPAN> files + from current directory and all it's subdirectories. That command doesn't compress + <SPAN class="filename">a*.txt</SPAN> files. + +<H4>Commands that can be used with this switch</H4> + +<P> + <A href="../commands/add.htm">a (Add)</A>, + <A href="../commands/delete.htm">d (Delete)</A>, + <A href="../commands/extract.htm">e (Extract)</A>, + <A href="../commands/list.htm">l (List)</A>, + <A href="../commands/test.htm">t (Test)</A>, + <A href="../commands/update.htm">u (Update)</A>, + <A href="../commands/extract_full.htm">x (Extract with full paths)</A> +</P> + +</BODY> +</HTML> diff --git a/src/libs/7zip/unix/DOCS/MANUAL/switches/stdin.htm b/src/libs/7zip/unix/DOCS/MANUAL/switches/stdin.htm new file mode 100644 index 000000000..f16b4ebe2 --- /dev/null +++ b/src/libs/7zip/unix/DOCS/MANUAL/switches/stdin.htm @@ -0,0 +1,55 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<HTML> +<HEAD> + <META http-equiv="Content-Type" content="text/html; charset=Windows-1252"> + <TITLE>-si (read data from stdin) switch</TITLE> + <LINK href="style.css" rel="stylesheet" type="text/css"> +</HEAD> + +<BODY> + +<H1>-si (read data from stdin) switch</H1> + +<P>Causes 7-Zip to read data from stdin (standard input) instead of from disc files.</P> + +<H4>Syntax</H4> + +<PRE class="syntax"> +-si{file_name} +</PRE> + +<DL> + <DT>{file_name}</DT> + <DD>Specifies a name that will be stored in the archive for the compressed data. + If file_name is not specified, data will be stored without a name.</DD> +</DL> + +<P>Note: The current version of 7-Zip support reading of archives from stdin only for xz, lzma, tar, gzip and bzip2 archives.</P> + +<H4>Examples</H4> + +<PRE class="example"> +7z a archive.gz -tgzip -siDoc2.txt < Doc.txt +</PRE> + +<P>compresses input stream from file Doc.txt to +<SPAN class="filename">archive.gz</SPAN> archive +using <SPAN class="filename">Doc2.txt</SPAN> file name.</P> + +<PRE class="example"> +7z x 7z905.tar.gz -so | 7z x -si -ttar +</PRE> + +<P>decompresses <SPAN class="filename">tar.gz</SPAN> archive.</P> + +<H4>Commands that can be used with this switch</H4> + +<P> + <A href="../commands/add.htm">a (Add)</A>, + <A href="../commands/extract.htm">e (Extract)</A>, + <A href="../commands/update.htm">u (Update)</A>, + <A href="../commands/extract_full.htm">x (Extract with full paths)</A> +</P> + +</BODY> +</HTML> diff --git a/src/libs/7zip/unix/DOCS/MANUAL/switches/stdout.htm b/src/libs/7zip/unix/DOCS/MANUAL/switches/stdout.htm new file mode 100644 index 000000000..62e5a662a --- /dev/null +++ b/src/libs/7zip/unix/DOCS/MANUAL/switches/stdout.htm @@ -0,0 +1,50 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<HTML> +<HEAD> + <META http-equiv="Content-Type" content="text/html; charset=Windows-1252"> + <TITLE>-so (write data to stdout) switch</TITLE> + <LINK href="style.css" rel="stylesheet" type="text/css"> +</HEAD> + +<BODY> + +<H1>-so (write data to stdout) switch</H1> + +<P>Causes 7-Zip to write output data to stdout (standard output stream).</P> + +<H4>Syntax</H4> + +<PRE class="syntax"> +-so +</PRE> + +<H4>Examples</H4> + +<PRE class="example"> +7z x archive.gz -so > Doc.txt +</PRE> + +<P>decompresses <SPAN class="filename">archive.gz</SPAN> +archive to output stream and then redirects that stream to +<SPAN class="filename">Doc.txt</SPAN> file.</P> + + +<PRE class="example"> +7z a dummy -tgzip -so Doc.txt > archive.gz +</PRE> + +<P>compresses the <SPAN class="filename">Doc.txt</SPAN> file to the 7-Zip standard +output stream and writes that stream to +<SPAN class="filename">archive.gz</SPAN> file.</P> + +<H4>Commands that can be used with this switch</H4> + +<P> + <A href="../commands/add.htm">a (Add)</A>, + <A href="../commands/extract.htm">e (Extract)</A>, + <A href="../commands/update.htm">u (Update)</A>, + <A href="../commands/extract_full.htm">x (Extract with full paths)</A> +</P> + +</BODY> +</HTML> diff --git a/src/libs/7zip/unix/DOCS/MANUAL/switches/stop_switch.htm b/src/libs/7zip/unix/DOCS/MANUAL/switches/stop_switch.htm new file mode 100644 index 000000000..12383e507 --- /dev/null +++ b/src/libs/7zip/unix/DOCS/MANUAL/switches/stop_switch.htm @@ -0,0 +1,31 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<HTML> +<HEAD> + <META http-equiv="Content-Type" content="text/html; charset=Windows-1252"> + <TITLE>-- (Stop switches parsing) switch</TITLE> + <LINK href="style.css" rel="stylesheet" type="text/css"> +</HEAD> + +<BODY> + +<H1>-- (Stop switches parsing) switch</H1> + +<P>Disables switch parsing after "--" on the command line. +This is to allow 7-Zip to use file names that start with "-". + +<H4>Syntax</H4> + +<PRE class="syntax"> +-- +</PRE> + +<H4>Examples</H4> + +<PRE class="example"> +7z t -- -ArchiveName.7z +</PRE> + +<P>tests <SPAN class="filename">-ArchiveName.7z</SPAN> archive.</P> + +</BODY> +</HTML> diff --git a/src/libs/7zip/unix/DOCS/MANUAL/switches/style.css b/src/libs/7zip/unix/DOCS/MANUAL/switches/style.css new file mode 100644 index 000000000..13ebb79ce --- /dev/null +++ b/src/libs/7zip/unix/DOCS/MANUAL/switches/style.css @@ -0,0 +1,232 @@ +body + { + padding: 0px 0px 0px 26px; + background: #ffffff; + color: #000000; + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 80%; + } + +div + { + width: 90%; + border: 2px solid #999999; + padding: 4px 8px; + background: #cccccc; + } + +h1, h2, h3, h4 + { + font-family: Verdana, Arial, Helvetica, sans-serif; + margin-left: -26px; + } + +h1 + { + font-size: 145%; + margin-top: .5em; + margin-bottom: 1em; + } + +h2 + { + font-size: 130%; + margin-top: 1.5em; + margin-bottom: .6em; + } + +h3 + { + font-size: 115%; + margin-top: 1.5em; + margin-bottom: .6em; + } + +h4 + { + font-size: 100%; + margin-top: 1.5em; + margin-bottom: .6em; + } + +ul p, ol p, dl p + { + margin-left: 0em; + } + +p + { + margin-top: .6em; + margin-bottom: .6em; + } + +dl + { + /*margin-top: 0em; */ + } + +dt + { + margin-top: .76em; + margin-bottom: .5em; + font-weight: bold; + } + +dd + { + margin-top: .5em; + margin-bottom: .5em; + margin-left: 1.9em; + } + + +ul, ol + { + margin-top: .6em; + margin-bottom: 0em; + } + +ol + { + margin-left: 3.6em; + } + +ul + { + list-style-type: disc; + margin-left: 1.9em; + } + +li + { + margin-bottom: .6em; + } + +ul ol, ol ol + { + list-style-type: lower-alpha; + { + + /* +pre + { + margin-top: .6em; + margin-bottom: .6em; + } + */ + +pre,code + { + font: 100% Courier New, Courier, mono; + color: #000000; + cursor: text; + } + +pre.syntax + { + background: #dddddd; + padding: 2pt,4pt + } + +pre.syntax + { + color: #000000; + } + +pre.example + { + margin-left: 2.0em; + /*margin-top: 12.0em;*/ + /*margin-bottom: 1.0em;*/ + color: #C00000; + /*padding: 10pt,20pt*/ + } + +table + { + /* width: 90%; */ + background: #999999; + margin-top: .6em; + margin-bottom: .3em; + } + +th + { + padding: 4px 8px; + background: #cccccc; + text-align: left; + font-size: 80%; + vertical-align: bottom; + } + +th.cc + { + text-align: center; + vertical-align: middle; + } + +td + { + padding: 4px 8px; + background: #ffffff; + vertical-align: top; + font-size: 80%; + } + +td.cc + { + text-align: center; + vertical-align: middle; + } + + +blockquote + { + margin-left: 3.8em; + margin-right: 3.8em; + margin-top: .6em; + margin-bottom: .6em; + } + +a:link + { + color: #0066ff; + } + +a:visited + { + color: #996600; + } + +a:hover + { + color: #cc9900; + } + +a.parameter:link + { + color: #0066ff; + text-decoration:none; + } + +a.parameter:visited + { + text-decoration:none; + } + +div.footer + { + width: 100%; + border: none; + background: #ffffff; + margin-top: 18pt; + padding-bottom: 12pt; + color: #228B22; + text-align: center; + font-size: 70%; + } + +span.filename +{ + color: #F00000; +} diff --git a/src/libs/7zip/unix/DOCS/MANUAL/switches/type.htm b/src/libs/7zip/unix/DOCS/MANUAL/switches/type.htm new file mode 100644 index 000000000..73af4e1a9 --- /dev/null +++ b/src/libs/7zip/unix/DOCS/MANUAL/switches/type.htm @@ -0,0 +1,83 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<HTML> +<HEAD> + <META http-equiv="Content-Type" content="text/html; charset=Windows-1252"> + <TITLE>-o (set Output directory) switch</TITLE> + <LINK href="style.css" rel="stylesheet" type="text/css"> +</HEAD> + +<BODY> + +<H1>-t (set Type of archive) switch</H1> + +<P>Specifies the type of archive.</P> + +<H4>Syntax</H4> + +<PRE class="syntax"> +-t{archive_type} +</PRE> + +<DL> + <DT>{archive_type}</DT> + <DD>Specifies the type of archive. It can be: *, 7z, split, zip, gzip, bzip2, tar, ... , or + combination of them, like: mbr.vhd +</DD> +</DL> + +<P>If -t{archive_type} switch is not specified, 7-Zip uses extension of archive filename to + detect the type of archive. If you create new archive, -t{archive_type} switch is not + specified and there is no extension of archive, 7-Zip will create .7z archive.</P> + +<P>When you extract archive of some types that contains another +archive without compression (for example, MBR in VHD), 7-Zip can open both +levels in one step. If you want to open/extract just top +level archive, use <SPAN class="filename">-t*</SPAN> switch.</P> + +<P>Note: gzip or bzip2 formats support only one file per archive. +If you want to compress more than one file to these formats, +create a tar archive first, and then compress it with your selected format.</P> + +<H4>Example</H4> + +<PRE class="example"> +7z a -tzip archive.zip *.txt +</PRE> + +<P>adds all <SPAN class="filename">*.txt</SPAN> files from current directory +to zip archive <SPAN class="filename">archive.zip</SPAN>.</P> + +<PRE class="example"> +7z t -t7z.split archive.7z.001 +</PRE> + +<P>tests all files in <SPAN class="filename">archive.7z.001</SPAN>. It also checks +that archive is multivolume .7z archive.</P> + +<PRE class="example"> +7z x -tiso archive.iso +</PRE> + +<P>extracts files from <SPAN class="filename">archive.iso</SPAN> open as ISO archive. + +<PRE class="example"> +7z x -tudf archive.iso +</PRE> + +<P>extracts files from <SPAN class="filename">archive.iso</SPAN> open as UDF archive. + + +<H4>Commands that can be used with this switch</H4> + +<P> + <A href="../commands/add.htm">a (Add)</A>, + <A href="../commands/delete.htm">d (Delete)</A>, + <A href="../commands/extract.htm">e (Extract)</A>, + <A href="../commands/list.htm">l (List)</A>, + <A href="../commands/test.htm">t (Test)</A>, + <A href="../commands/update.htm">u (Update)</A>, + <A href="../commands/extract_full.htm">x (Extract with full paths)</A> +</P> + +</BODY> +</HTML> diff --git a/src/libs/7zip/unix/DOCS/MANUAL/switches/update.htm b/src/libs/7zip/unix/DOCS/MANUAL/switches/update.htm new file mode 100644 index 000000000..3c707a784 --- /dev/null +++ b/src/libs/7zip/unix/DOCS/MANUAL/switches/update.htm @@ -0,0 +1,176 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<HTML> +<HEAD> + <META http-equiv="Content-Type" content="text/html; charset=Windows-1252"> + <TITLE>-u (Update options) switch</TITLE> + <LINK href="style.css" rel="stylesheet" type="text/css"> +</HEAD> + +<BODY> + +<H1>-u (Update options) switch</H1> + +<P>Specifies how to update files in an archive and (or) how to create new archives.</P> + +<H4>Syntax</H4> + +<PRE class="syntax"> +-u<A class="parameter" href="#disable_base_archive">[-]</A><action_set><A class="parameter" href="#new_archive_name">[!{new_archive_name}]</A> + + <action_set> ::= <state_action>... + + <state_action> ::= <A class="parameter" href="#state"><state></A><A class="parameter" href="#state"><action></A> + + <A class="parameter" href="#action"><state></A> ::= p | q | r | x | y | z | w + + <A class="parameter" href="#action"><action></A> ::= 0 | 1 | 2 | 3 +</PRE> + + +<H4>Parameters</H4> + +<DL> + <DT><A name="disable_base_archive"></A>dash (-)</DT> + <DD><P>Disables any updates in the base archive.</P> + + <P>The term <B>base archive</B> means the archive assigned by "base_archive_name" + on the command line. See <A href="../syntax.htm">Command line syntax</A> + for more details.</P> + </DD> + <DT><A name="new_archive_name"></A>{new_archive_name}</DT> + <DD><P>Specifies the path name of the new archive to be created. + All options in this switch will refer to this new archive.</P> + <P>If not assigned, then all options in this switch will + refer to the base archive of the command.</P> + </DD> + <DT><A name="state"></A><state></DT> + <DD><P>Specifies the state of a particular file to be processed.</P> + <PRE class="syntax"><state> ::= p | q | r | x | y | z | w</PRE> + <P>For each unique filename there are 6 variants of state:</P> + <TABLE> + <TR> <TH><state></TH> <TH>State condition</TH> + <TH width="20%">File on Disk</TH> <TH width="20%">File in Archive</TH> </TR> + + <TR> <TD align="center">p</TD> <TD>File exists in archive, but is not matched with wildcard.</TD> + <TD> </TD> <TD>Exists, but is not matched</TD> </TR> + + <TR> <TD align="center">q</TD> <TD>File exists in archive, but doesn't exist on disk.</TD> + <TD>Doesn't exist</TD> <TD>Exists</TD> </TR> + + <TR> <TD align="center">r</TD> <TD>File doesn't exist in archive, but exists on disk.</TD> + <TD>Exists</TD> <TD>Doesn't exist</TD> </TR> + + <TR> <TD align="center">x</TD> <TD>File in archive is newer than the file on disk.</TD> + <TD>Older</TD> <TD>Newer</TD> </TR> + + <TR> <TD align="center">y</TD> <TD>File in archive is older than the file on disk.</TD> + <TD>Newer</TD> <TD>Older</TD> </TR> + + <TR> <TD align="center">z</TD> <TD>File in archive is same as the file on disk</TD> + <TD>Same</TD> <TD>Same</TD> </TR> + + <TR> <TD align="center">w</TD> <TD>Can not be detected what file is newer + (times are the same, sizes are different)</TD> + <TD>?</TD> <TD>?</TD> </TR> + </TABLE> + </DD> + + <DT><A name="action"></A><action></DT> + <DD><P>Specifies the action for a given <A class="parameter" href="#state"><state></A>.</P> + <PRE class="syntax"><action> ::= 0 | 1 | 2 | 3</PRE> + <P>For each state you can specify one of the three variants of actions:</P> + <TABLE> + <TR> <TH><action></TH> <TH>Description</TH></TR> + <TR> <TD align="center">0</TD> <TD>Ignore file (don't create item in new archive for this file)</TD></TR> + <TR> <TD align="center">1</TD> <TD>Copy file (copy from old archive to new)</TD></TR> + <TR> <TD align="center">2</TD> <TD>Compress (compress file from disk to new archive)</TD></TR> + <TR> <TD align="center">3</TD> <TD>Create Anti-item (item that will delete file or directory during extracting). This feature is supported only in 7z format.</TD></TR> + </TABLE> + </DD> +</DL> + + +<H4>Remarks</H4> + +<P>Any update command (such as <A href="../commands/add.htm">a (Add)</A>, + <A href="../commands/delete.htm">d (Delete)</A>, + <A href="../commands/update.htm">u (Update)</A>) can be assigned in these terms.</P> +<P>The following table shows action sets for update commands.</P> + +<TABLE> + <TR> <TH>command \ <A class="parameter" href="#state"><state></A></TH> + <TH>p</TH> <TH>q</TH> <TH>r</TH> <TH>x</TH> <TH>y</TH> <TH>z</TH> <TH>w</TH></TR> + <TR> <TH><A href="../commands/delete.htm">d (Delete)</A></TH> <TD>1</TD> <TD>0</TD> <TD>0</TD> <TD>0</TD> <TD>0</TD> <TD>0</TD> <TD>0</TD></TR> + <TR> <TH><A href="../commands/add.htm">a (Add)</A></TH> <TD>1</TD> <TD>1</TD> <TD>2</TD> <TD>2</TD> <TD>2</TD> <TD>2</TD> <TD>2</TD></TR> + <TR> <TH><A href="../commands/update.htm">u (Update)</A></TH> <TD>1</TD> <TD>1</TD> <TD>2</TD> <TD>1</TD> <TD>2</TD> <TD>1</TD> <TD>2</TD></TR> + <TR> <TH>Freshen</TH> <TD>1</TD> <TD>1</TD> <TD>0</TD> <TD>1</TD> <TD>2</TD> <TD>1</TD> <TD>2</TD></TR> + <TR> <TH>Synchronize</TH> <TD>1</TD> <TD>0</TD> <TD>2</TD> <TD>1</TD> <TD>2</TD> <TD>1</TD> <TD>2</TD></TR> +</TABLE> + + +<P>If you don't specify a +<A class="parameter" href="#new_archive_name"><I>!{new_archive_name}</I></A> option, then +all options will refer to the main archive (the archive assigned on the command line after the 7z command). +If you specify <A class="parameter" href="#new_archive_name"><I>!{new_archive_name}</I></A> +option, then 7-Zip also will create a new archive with the specified name and all options +will refer to that new archive.</P> + +<P>Multiple update switches are supported. +7-Zip can create any number of new archives during one operation.</P> + +<P>By default, the action set for each new archive is assigned +as the action set of the main command. There are 3 different +action sets for commands: <A href="../commands/add.htm">a (Add)</A>, + <A href="../commands/delete.htm">d (Delete)</A>, + <A href="../commands/update.htm">u (Update)</A>. +You can overload any <state_action> pair.</P> + +<H4>Time zone notes</H4> +<P>If you change time zone (when you move your computer to another time zone +or if there are clock changes for daylight saving in your zone), you can have some problems +with update commands that depend from file's modification time. It's strongly recommended to use only +file system that uses Coordinated Universal Time (UTC) and archive format that also uses UTC. +In that case you will have no problems with time zone changes. +Also it's recommended to use only UTC formats in other cases, for example, if you send files to +someone in another time zone.</P> + +<P>Also in some cases there are no problems, if both file system and archive format use local time, for example, FAT file system and ZIP format.</P> +<UL> +<LI>UTC file systems: NTFS +<LI>UTC archive formats: .zip with -mtc switch, 7z, tar, gzip2, iso, wim +<LI>Local time file systems : FAT, FAT32 +<LI>Local time archive formats : rar, zip, cab +</UL> + +<H4>Examples</H4> + +<PRE class="example"> +7z u c:\1\exist.7z -u- -up0q3x2z0!c:\1\update.7z * +</PRE> + +<P>creates a new archive <SPAN class="filename">update.7z</SPAN> and +writes to this archive all files from current directory which differ from +files in <SPAN class="filename">exist.7z</SPAN> archive. +<SPAN class="filename">exist.7z</SPAN> archive will not be changed.</P> + +<PRE class="example"> +7z u c:\1\exist.7z -up0q3x2z0!c:\1\update.7z * -ms=off +</PRE> + +<P>creates a new archive <SPAN class="filename">update.7z</SPAN> and +writes to this archive all files from the current directory which differ from +files in <SPAN class="filename">exist.7z</SPAN> archive. + +<P>Note: the updating of solid .7z archives can be slow, since it +can require some recompression.</P> + +<H4>Commands that can be used with this switch</H4> + +<P> + <A href="../commands/add.htm">a (Add)</A>, + <A href="../commands/delete.htm">d (Delete)</A>, + <A href="../commands/update.htm">u (Update)</A>, +</P> + +</BODY> +</HTML> diff --git a/src/libs/7zip/unix/DOCS/MANUAL/switches/volume.htm b/src/libs/7zip/unix/DOCS/MANUAL/switches/volume.htm new file mode 100644 index 000000000..91ddc2924 --- /dev/null +++ b/src/libs/7zip/unix/DOCS/MANUAL/switches/volume.htm @@ -0,0 +1,49 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<HTML> +<HEAD> + <META http-equiv="Content-Type" content="text/html; charset=Windows-1252"> + <TITLE>-v (Create Volumes) switch</TITLE> + <LINK href="style.css" rel="stylesheet" type="text/css"> +</HEAD> + +<BODY> + +<H1>-v (Create Volumes) switch</H1> + +<P>Specifies volume sizes.</P> + +<H4>Syntax</H4> + +<PRE class="syntax"> +-v{Size}[b | k | m | g] + +</PRE> +<DL> + <DT>{Size}[b | k | m | g]</DT> + <DD>Specifies volume size in Bytes, Kilobytes (1 Kilobyte = 1024 bytes), + Megabytes (1 Megabyte = 1024 Kilobytes) or Gigabytes (1 Gigabyte = 1024 Megabytes). + if you specify only {Size}, 7-zip will treat it as bytes.</DD> +</DL> + +<P>It's possible to specify several -v switches.</P> + +<P><B>NOTE:</B> Please don't use volumes (and don't copy volumes) before finishing archiving. +7-Zip can change any volume (including first volume) at the end of archiving operation.</P> + +<H4>Examples</H4> + +<PRE class="example"> +7z a a.7z *.txt -v10k -v15k -v2m +</PRE> + +<P>creates multivolume <SPAN class="filename">a.7z</SPAN> archive. +First volume will be 10 KB, second will be 15 KB, and all others will be 2 MB.</P> + +<H4>Commands that can be used with this switch</H4> + +<P> + <A href="../commands/add.htm">a (Add)</A>, +</P> + +</BODY> +</HTML> diff --git a/src/libs/7zip/unix/DOCS/MANUAL/switches/working_dir.htm b/src/libs/7zip/unix/DOCS/MANUAL/switches/working_dir.htm new file mode 100644 index 000000000..415c3971b --- /dev/null +++ b/src/libs/7zip/unix/DOCS/MANUAL/switches/working_dir.htm @@ -0,0 +1,55 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<HTML> +<HEAD> + <META http-equiv="Content-Type" content="text/html; charset=Windows-1252"> + <TITLE>-w (set Working directory) switch</TITLE> + <LINK href="style.css" rel="stylesheet" type="text/css"> +</HEAD> + +<BODY> + +<H1>-w (set Working directory) switch</H1> + +<P>Sets the working directory for the temporary base archive. By +default, 7-Zip builds a new base archive file in the same directory as the +old base archive file. By specifying this switch, you can set the +working directory where the temporary base archive file will be built. +After the temporary base archive file is built, it is copied over the +original archive; then, the temporary file is deleted.</P> + +<H4>Syntax</H4> + +<PRE class="syntax"> +-w[<A class="parameter" href="#dir_path">{dir_path}</A>] +</PRE> + +<DL> + <DT><A name="dir_path"></A>{dir_path}</DT> + <DD> + <P>Specifies the destination directory path. It's not required that + a path end with a backslash.</P> + <P>If <dir_path> is not assigned, then 7-Zip will use the Windows temporary directory.</P> + </DD> +</DL> + + +<H4>Example</H4> + +<PRE class="example"> +7z a -tzip archive.zip *.cpp -wc:\temp +</PRE> + +<P>adds <SPAN class="filename">*.cpp</SPAN> files to the +<SPAN class="filename">archive.zip</SPAN> archive, creating a temporary archive +in <SPAN class="filename">c:\temp</SPAN> folder.</P> + +<H4>Commands that can be used with this switch</H4> + +<P> + <A href="../commands/add.htm">a (Add)</A>, + <A href="../commands/delete.htm">d (Delete)</A>, + <A href="../commands/update.htm">u (Update)</A>, +</P> + +</BODY> +</HTML> diff --git a/src/libs/7zip/unix/DOCS/MANUAL/switches/yes.htm b/src/libs/7zip/unix/DOCS/MANUAL/switches/yes.htm new file mode 100644 index 000000000..142ffd20c --- /dev/null +++ b/src/libs/7zip/unix/DOCS/MANUAL/switches/yes.htm @@ -0,0 +1,48 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<HTML> +<HEAD> + <META http-equiv="Content-Type" content="text/html; charset=Windows-1252"> + <TITLE>-y (assume Yes on all queries) switch</TITLE> + <LINK href="style.css" rel="stylesheet" type="text/css"> +</HEAD> + +<BODY> + +<H1>-y (assume Yes on all queries) switch</H1> + +<P>Disables most of the normal user queries during 7-Zip +execution. You can use this switch to suppress overwrite queries in the +<A href="../commands/extract.htm">e (Extract)</A> and +<A href="../commands/extract_full.htm">x (Extract with full paths)</A> commands.</P> + +<H4>Syntax</H4> + +<PRE class="syntax">-y</PRE> + +<H4>Examples</H4> + +<PRE class="example"> +7z x src.zip -y +</PRE> + +<P>extracts all files from + <SPAN class="filename">src.zip</SPAN> archive. All overwrite queries will be +suppressed and files on disk with same filenames as in archive will be +overwritten.</P> + +<H4>Commands that can be used with this switch</H4> + +<P> + <A href="../commands/extract.htm">e (Extract)</A>, + <A href="../commands/extract_full.htm">x (Extract with full paths)</A> +</P> + +<H4>See also</H4> + +<P> + <B>Switches:</B> + <A href="overwrite.htm">-ao (Overwrite mode)</A>, +</P> + +</BODY> +</HTML> |