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>Add to Archive Dialog Box</TITLE>
6  <LINK href="style.css" rel="stylesheet" type="text/css">
7</HEAD>
8
9<BODY>
10
11<H1>Add to Archive Dialog Box</H1>
12
13<P>Allows you to specify options for creating or updating an archive.</P>
14
15<H4>How to call this dialog box</H4>
16<OL>
17  <LI>In Windows Explorer or in 7-Zip, right-click the file(s) or folder(s) you want to compress.</LI>
18  <LI>Point to <B>7-Zip</B>, and then click the <B>Add to archive...</B> command item.</LI>
19</OL>
20
21<H4>Parameters</H4>
22<DL>
23  <DT>Archive</DT>
24  <DD>Provides a space for you to specify a destination archive name.
25     You can click &quot;<B>...</B>&quot; button to display &quot;Open&quot; dialog box
26     that you can use to locate archive.</DD>
27
28  <DT>Archive format</DT>
29  <DD>Specifies a format of created archive. Some formats (gzip and bzip2)
30    do not support compressing more the one file per archive.</DD>
31
32  <DT>Compression level</DT>
33  <DD>
34    <P>Specifies compression level. There are 6 levels of compression:</P>
35    <TABLE>
36      <TR> <TH>Value</TH> <TH>Meaning</TH> </TR>
37      <TR> <TD>Store</TD> <TD>Files will be copied to archive without compression.</TD> </TR>
38      <TR> <TD>Fastest</TD> <TD>Fastest compression.</TD> </TR>
39      <TR> <TD>Fast</TD> <TD>Fast compression.</TD> </TR>
40      <TR> <TD>Normal</TD> <TD>Compression with balanced settings.</TD> </TR>
41      <TR> <TD>Maximum</TD> <TD>Can give a higher compression ratio than Normal level.
42               But it can be slower, and it can require more memory.</TD> </TR>
43      <TR> <TD>Ultra</TD> <TD>Can give a higher compression ratio than Maximum level.
44               But it can be slower, and it can require more memory.</TD> </TR>
45    </TABLE>
46  </DD>
47
48  <DT>Compression method</DT>
49  <DD>
50    <P>Specifies compression method. Each archive format can have its own compression methods:</P>
51    <TABLE>
52      <TR> <TH>Method</TH> <TH>Description</TH> </TR>
53      <TR> <TD>LZMA</TD> <TD>Default compression method of 7z format. It provides high
54                     compression ratio and very fast decompression.</TD> </TR>
55      <TR> <TD>LZMA2</TD> <TD>LZMA-based compression method.
56                     It provides better multithreading support than LZMA. But compression ratio
57                     can be worse in some cases.</TD> </TR>
58      <TR> <TD>PPMd</TD> <TD>Dmitry Shkarin's PPMdH algorithm with small changes.
59                  Usually it provides high compression ratio and high speed
60                  for text files.</TD> </TR>
61      <TR> <TD>BZip2</TD> <TD>Standard compression method based on BWT algorithm.
62                     Usually it provides high speed and pretty good
63                     compression ratio for text files.</TD> </TR>
64      <TR> <TD>Deflate</TD> <TD>Standard compression method of ZIP and GZip formats.
65             Compression ratio is not too high. But it provides pretty fast
66             compressing and decompressing. Deflate method supports only
67             32 KB dictionary.</TD> </TR>
68      <TR> <TD>Deflate64</TD> <TD>Modified version of Deflate algorithm with
69             bigger dictionary (64KB).</TD> </TR>
70    </TABLE>
71    <P>Estimated 7-Zip performance and memory requirements for AMD Athlon 64 X2 3800+:</P>
72    <TABLE>
73      <TR>
74        <TH class="cc">Method</TH>
75        <TH class="cc">Level</TH>
76        <TH class="cc">Dictionary Size</TH>
77        <TH class="cc">Compressing Speed</TH>
78        <TH class="cc">Decompressing Speed</TH>
79        <TH class="cc">Memory for Compressing</TH>
80        <TH class="cc">Memory for Decompressing</TH>
81      </TR>
82      <TR>
83         <TD class="cc" rowspan="5">LZMA</TD>
84         <TD class="cc">fastest</TD>
85         <TD class="cc">64 KB</TD>
86         <TD class="cc">4.5 MB/s</TD>
87         <TD class="cc" rowspan="5">15 MB/s</TD>
88         <TD class="cc">3 MB</TD>
89         <TD class="cc">3 MB</TD></TR>
90      <TR>
91         <TD class="cc">fast</TD>
92         <TD class="cc">1 MB</TD>
93         <TD class="cc">3 MB/s</TD>
94         <TD class="cc">10 MB</TD>
95         <TD class="cc">3 MB</TD></TR>
96      <TR>
97        <TD class="cc">normal</TD>
98        <TD class="cc">16 MB</TD>
99        <TD class="cc">2 MB/s</TD>
100        <TD class="cc">186 MB</TD>
101        <TD class="cc">18 MB</TD></TR>
102      <TR>
103        <TD class="cc">maximum</TD>
104        <TD class="cc">32 MB</TD>
105        <TD class="cc">1.8 MB/s</TD>
106        <TD class="cc">376 MB</TD>
107        <TD class="cc">34 MB</TD></TR>
108      <TR>
109        <TD class="cc">ultra</TD>
110        <TD class="cc">64 MB</TD>
111        <TD class="cc">1.6 MB/s</TD>
112        <TD class="cc">709 MB</TD>
113        <TD class="cc">66 MB</TD></TR>
114      <TR>
115        <TD class="cc" rowspan="4">PPMD</TD>
116        <TD class="cc">fast</TD>
117        <TD class="cc">4 MB</TD>
118        <TD class="cc" colspan="2">1.4 MB/s</TD>
119        <TD class="cc" colspan="2">6 MB</TD></TR>
120      <TR>
121        <TD class="cc">normal</TD>
122        <TD class="cc">24MB</TD>
123        <TD class="cc" colspan="2">1.2 MB/s</TD>
124        <TD class="cc" colspan="2">26 MB</TD></TR>
125      <TR>
126        <TD class="cc">maximum</TD>
127        <TD class="cc">64 MB</TD>
128        <TD class="cc" colspan="2">1.0 MB/s</TD>
129        <TD class="cc" colspan="2">66 MB</TD></TR>
130      <TR>
131        <TD class="cc">ultra</TD>
132        <TD class="cc">192 MB</TD>
133        <TD class="cc" colspan="2">0.9 MB/s</TD>
134        <TD class="cc" colspan="2">194 MB</TD></TR>
135      <TR>
136        <TD class="cc" rowspan="4">Deflate</TD>
137        <TD class="cc">fast</TD>
138        <TD class="cc" rowspan="4">32 KB</TD>
139        <TD class="cc">15 MB/s</TD>
140        <TD class="cc" rowspan="4">40 MB/s</TD>
141        <TD class="cc" rowspan="2">3 MB</TD>
142        <TD class="cc" rowspan="4">2 MB</TD></TR>
143      <TR>
144        <TD class="cc">normal</TD>
145        <TD class="cc">3.5 MB/s</TD></TR>
146      <TR>
147        <TD class="cc">maximum</TD>
148        <TD class="cc">1.5 MB/s</TD>
149        <TD class="cc" rowspan="2">4MB</TD></TR>
150      <TR>
151        <TD class="cc">ultra</TD>
152        <TD class="cc">0.4 MB/s</TD>
153      <TR>
154        <TD class="cc" rowspan="3">BZip2</TD>
155        <TD class="cc">normal</TD>
156        <TD class="cc" rowspan="3">900 KB</TD>
157        <TD class="cc">3 MB/s</TD>
158        <TD class="cc" rowspan="3">16 MB/s</TD>
159        <TD class="cc" rowspan="3">20 MB</TD>
160        <TD class="cc" rowspan="3">7 MB</TD></TR>
161      <TR>
162        <TD class="cc">maximum</TD>
163        <TD class="cc">1.2 MB/s</TD>
164      <TR>
165        <TD class="cc">ultra</TD>
166        <TD class="cc">0.4 MB/s</TD>
167    </TABLE>
168  </DD>
169
170  <DT>Dictionary size</DT>
171  <DD>
172    <P>Specifies Dictionary size for compression method.</P>
173    <P>Usually, a higher Dictionary size gives a higher compression ratio.
174    But compressing can be slower and it can require more memory.</P>
175    <P>
176    Memory (RAM) usage for LZMA compressing is about 11 times more than dictionary size.
177    Memory usage for LZMA decompressing is close to  value of dictionary size.
178    Memory usage for PPMd compressing and decompressing is almost equal
179    to dictionary size.</P>
180  </DD>
181
182  <DT>Word size</DT>
183  <DD>
184    <P>Specifies the length of words, which will be used to find identical
185       sequences of bytes for compression.</P>
186    <P>Usually for LZMA and Deflate, big Word size gives a little bit better
187       compression ratio and slower compression process.
188       A big Word size parameter can significantly increase compression ratio
189       for files which contain long identical sequences of bytes. For PPMd,
190       the Word size strongly affects both compression ratio and
191       compression/decompression speed.</P>
192  </DD>
193
194
195  <DT>Solid Block size</DT>
196  <DD>
197    <P>Specifies the size of a solid block. You can also disable solid mode.
198          In solid mode all files will be compressed as continuous data blocks.
199          Usually compressing to a solid archive improves the compression ratio.
200          You can use this option only for 7z archives. The updating of solid .7z
201          archives can be slow, since it can require some recompression.</P>
202.</P>
203  </DD>
204
205  <DT>Number of CPU threads</DT>
206  <DD>
207    <P>Specifies the number of threads for compressing.
208       A big number of threads can speed up compression speed on Multi-Processor systems.
209       Sometimes it can increase speed even on single-core CPU.</P>
210  </DD>
211
212  <DT>Split to volumes</DT>
213  <DD>
214    <PRE class="syntax">
215    {Size}[b | k | m | g]
216    </PRE>
217
218    <P>Specifies volume sizes in Bytes, Kilobytes (1 Kilobyte = 1024 bytes),
219    Megabytes (1 Megabyte = 1024 Kilobytes) or Gigabytes (1 Gigabyte = 1024 Megabytes).
220    If you specify only {Size}, 7-zip will treat it as bytes. It's possible to specify
221    several values. Example:</P>
222
223    <PRE class="example">
224    10k 15k 2m
225    </PRE>
226
227    <P>The first volume will be 10 KB, the second will be 15 KB, and all others will be 2 MB.</P>
228
229  </DD>
230
231  <DT>Parameters</DT>
232  <DD>
233    <P>Allows you to specify parameters for compression. See the
234    <A href="../../../../cmdline/switches/method.htm">-m (Method)</A> switch description for
235    more details. Omit the -m prefix (as in -m switch) when using this dialog box.<P>
236    <P><B>Examples</B></P>
237    <PRE class="example">
238      0=PPMd</PRE>
239      <P>uses PPMd method for compressing files.</P>
240
241    <PRE class="example">
242      0=bcj2 1=lzma:d23 2=lzma 3=lzma b0:1 b0s1:2 b0s2:3</PRE>
243      <P>uses BCJ2 filter (for x86 executables) and LZMA.</P>
244
245  </DD>
246
247  <DT>Update mode</DT>
248  <DD>
249    <P>Specifies update mode:</P>
250    <TABLE>
251      <TR> <TH width="30%">Value</TH> <TH>Meaning</TH> </TR>
252      <TR> <TD>Add and replace files</TD> <TD>Add all specified files to the archive.</TD> </TR>
253      <TR> <TD>Update and add files</TD> <TD>Update older files in the archive and add
254                files that are new to the archive.</TD> </TR>
255      <TR> <TD>Freshen existing files</TD> <TD>Update specified files in the
256               archive that are older than the selected disk files.</TD> </TR>
257      <TR> <TD>Synchronize files</TD> <TD>Replace specified files only if
258         added files are newer. Always add those files, which are not
259         present in the archive. Delete from archive those files,
260         which are not present on the disk.</TD> </TR>
261    </TABLE>
262  </DD>
263
264  <DT>Options</DT>
265  <DD>
266    <P>Specifies compression options:</P>
267    <TABLE>
268      <TR> <TH width="30%">Option</TH> <TH>Meaning</TH> </TR>
269      <TR> <TD>Create SFX archive</TD> <TD>Create self-extracting archive. You can use this option only
270        for 7z archives. Look to
271    <A href="../../../../cmdline/switches/sfx.htm">-sfx (Create SFX archive)</A> switch description for
272    more details about SFX modules.</TD> </TR>
273      <TR> <TD>Compress shared files</TD> <TD>Compress files open for writing by another applications.</TD> </TR>
274    </TABLE>
275  </DD>
276
277  <DT>Encryption</DT>
278  <DD>
279    <P>Specifies password and encryption options.</P>
280    <DL>
281      <DT>Enter password</DT>
282        <DD>Specify passord here</DD>
283      <DT>Reenter password</DT>
284        <DD>Reenter passord here for verification</DD>
285      <DT>Show Password</DT>
286        <DD>Shows Password</DD>
287      <DT>Encryption method</DT>
288        <DD>Specifies the encryption method. For 7z format, it can be only AES-256.
289          For ZIP format you can select ZipCrypto or AES-256.
290          Use ZipCrypto, if you want to get archive compatible with most of the ZIP archivers.
291          AES-256 provides stronger encryption, but now AES-256 is supported only
292          by 7-Zip, WinZip and some other ZIP archivers.
293      <DT>Encrypt file names</DT>
294        <DD>Enables or disables archive header encryption, including file name encryption.</DD>
295    </DL>
296  </DD>
297
298
299</DL>
300<UL>
301
302</BODY>
303</HTML>
304