1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
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">
11
<H1>Add to Archive Dialog Box</H1>
13
<P>Allows you to specify options for creating or updating an archive.</P>
15
<H4>How to call this dialog box</H4>
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>
24
<DD>Provides a space for you to specify a destination archive name.
25
You can click "<B>...</B>" button to display "Open" dialog box
26
that you can use to locate archive.</DD>
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>
32
<DT>Compression level</DT>
34
<P>Specifies compression level. There are 6 levels of compression:</P>
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>
48
<DT>Compression method</DT>
50
<P>Specifies compression method. Each archive format can have its own compression methods:</P>
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>PPMd</TD> <TD>Dmitry Shkarin's PPMdH algorithm with small changes.
56
Usually it provides high compression ratio and high speed
57
for text files.</TD> </TR>
58
<TR> <TD>BZip2</TD> <TD>Standard compression method based on BWT algorithm.
59
Usually it provides high speed and pretty good
60
compression ratio for text files.</TD> </TR>
61
<TR> <TD>Deflate</TD> <TD>Standard compression method of ZIP and GZip formats.
62
Compression ratio is not too high. But it provides pretty fast
63
compressing and decompressing. Deflate method supports only
64
32 KB dictionary.</TD> </TR>
65
<TR> <TD>Deflate64</TD> <TD>Modified version of Deflate algorithm with
66
bigger dictionary (64KB).</TD> </TR>
68
<P>Estimated 7-Zip performance and memory requirements for AMD Athlon 64 X2 3800+:</P>
71
<TH class="cc">Method</TH>
72
<TH class="cc">Level</TH>
73
<TH class="cc">Dictionary Size</TH>
74
<TH class="cc">Compressing Speed</TH>
75
<TH class="cc">Decompressing Speed</TH>
76
<TH class="cc">Memory for Compressing</TH>
77
<TH class="cc">Memory for Decompressing</TH>
80
<TD class="cc" rowspan="5">LZMA</TD>
81
<TD class="cc">fastest</TD>
82
<TD class="cc">64 KB</TD>
83
<TD class="cc">4.5 MB/s</TD>
84
<TD class="cc" rowspan="5">15 MB/s</TD>
85
<TD class="cc">3 MB</TD>
86
<TD class="cc">3 MB</TD></TR>
88
<TD class="cc">fast</TD>
89
<TD class="cc">1 MB</TD>
90
<TD class="cc">3 MB/s</TD>
91
<TD class="cc">10 MB</TD>
92
<TD class="cc">3 MB</TD></TR>
94
<TD class="cc">normal</TD>
95
<TD class="cc">16 MB</TD>
96
<TD class="cc">2 MB/s</TD>
97
<TD class="cc">186 MB</TD>
98
<TD class="cc">18 MB</TD></TR>
100
<TD class="cc">maximum</TD>
101
<TD class="cc">32 MB</TD>
102
<TD class="cc">1.8 MB/s</TD>
103
<TD class="cc">376 MB</TD>
104
<TD class="cc">34 MB</TD></TR>
106
<TD class="cc">ultra</TD>
107
<TD class="cc">64 MB</TD>
108
<TD class="cc">1.6 MB/s</TD>
109
<TD class="cc">709 MB</TD>
110
<TD class="cc">66 MB</TD></TR>
112
<TD class="cc" rowspan="4">PPMD</TD>
113
<TD class="cc">fast</TD>
114
<TD class="cc">4 MB</TD>
115
<TD class="cc" colspan="2">1.4 MB/s</TD>
116
<TD class="cc" colspan="2">6 MB</TD></TR>
118
<TD class="cc">normal</TD>
119
<TD class="cc">24MB</TD>
120
<TD class="cc" colspan="2">1.2 MB/s</TD>
121
<TD class="cc" colspan="2">26 MB</TD></TR>
123
<TD class="cc">maximum</TD>
124
<TD class="cc">64 MB</TD>
125
<TD class="cc" colspan="2">1.0 MB/s</TD>
126
<TD class="cc" colspan="2">66 MB</TD></TR>
128
<TD class="cc">ultra</TD>
129
<TD class="cc">192 MB</TD>
130
<TD class="cc" colspan="2">0.9 MB/s</TD>
131
<TD class="cc" colspan="2">194 MB</TD></TR>
133
<TD class="cc" rowspan="4">Deflate</TD>
134
<TD class="cc">fast</TD>
135
<TD class="cc" rowspan="4">32 KB</TD>
136
<TD class="cc">15 MB/s</TD>
137
<TD class="cc" rowspan="4">40 MB/s</TD>
138
<TD class="cc" rowspan="2">3 MB</TD>
139
<TD class="cc" rowspan="4">2 MB</TD></TR>
141
<TD class="cc">normal</TD>
142
<TD class="cc">3.5 MB/s</TD></TR>
144
<TD class="cc">maximum</TD>
145
<TD class="cc">1.5 MB/s</TD>
146
<TD class="cc" rowspan="2">4MB</TD></TR>
148
<TD class="cc">ultra</TD>
149
<TD class="cc">0.4 MB/s</TD>
151
<TD class="cc" rowspan="3">BZip2</TD>
152
<TD class="cc">normal</TD>
153
<TD class="cc" rowspan="3">900 KB</TD>
154
<TD class="cc">3 MB/s</TD>
155
<TD class="cc" rowspan="3">16 MB/s</TD>
156
<TD class="cc" rowspan="3">20 MB</TD>
157
<TD class="cc" rowspan="3">7 MB</TD></TR>
159
<TD class="cc">maximum</TD>
160
<TD class="cc">1.2 MB/s</TD>
162
<TD class="cc">ultra</TD>
163
<TD class="cc">0.4 MB/s</TD>
167
<DT>Dictionary size</DT>
169
<P>Specifies Dictionary size for compression method.</P>
170
<P>Usually, a higher Dictionary size gives a higher compression ratio.
171
But compressing can be slower and it can require more memory.</P>
173
Memory (RAM) usage for LZMA compressing is about 11 times more than dictionary size.
174
Memory usage for LZMA decompressing is close to value of dictionary size.
175
Memory usage for PPMd compressing and decompressing is almost equal
176
to dictionary size.</P>
181
<P>Specifies the length of words, which will be used to find identical
182
sequences of bytes for compression.</P>
183
<P>Usually for LZMA and Deflate, big Word size gives a little bit better
184
compression ratio and slower compression process.
185
A big Word size parameter can significantly increase compression ratio
186
for files which contain long identical sequences of bytes. For PPMd,
187
the Word size strongly affects both compression ratio and
188
compression/decompression speed.</P>
192
<DT>Solid Block size</DT>
194
<P>Specifies the size of a solid block. You can also disable solid mode.
195
In solid mode all files will be compressed as continuous data blocks.
196
Usually compressing to a solid archive improves the compression ratio.
197
You can use this option only for 7z archives. With the current version of 7z, you
198
can update existing archives only when
199
solid mode is switched off and the existing archive is non-solid.</P>
202
<DT>Number of CPU threads</DT>
204
<P>Specifies the number of threads for compressing.
205
A big number of threads can speed up compression speed on Multi-Processor systems.
206
Sometimes it can increase speed even on single-core CPU.</P>
209
<DT>Split to volumes</DT>
212
{Size}[b | k | m | g]
215
<P>Specifies volume sizes in Bytes, Kilobytes (1 Kilobyte = 1024 bytes),
216
Megabytes (1 Megabyte = 1024 Kilobytes) or Gigabytes (1 Gigabyte = 1024 Megabytes).
217
If you specify only {Size}, 7-zip will treat it as bytes. It's possible to specify
218
several values. Example:</P>
220
<PRE class="example">
224
<P>The first volume will be 10 KB, the second will be 15 KB, and all others will be 2 MB.</P>
230
<P>Allows you to specify parameters for compression. See the
231
<A href="../../../../cmdline/switches/method.htm">-m (Method)</A> switch description for
232
more details. Omit the -m prefix (as in -m switch) when using this dialog box.<P>
233
<P><B>Examples</B></P>
234
<PRE class="example">
236
<P>uses PPMd method for compressing files.</P>
238
<PRE class="example">
239
0=bcj2 1=lzma:d23 2=lzma 3=lzma b0:1 b0s1:2 b0s2:3</PRE>
240
<P>uses BCJ2 filter (for x86 executables) and LZMA.</P>
246
<P>Specifies update mode:</P>
248
<TR> <TH width="30%">Value</TH> <TH>Meaning</TH> </TR>
249
<TR> <TD>Add and replace files</TD> <TD>Add all specified files to the archive.</TD> </TR>
250
<TR> <TD>Update and add files</TD> <TD>Update older files in the archive and add
251
files that are new to the archive.</TD> </TR>
252
<TR> <TD>Freshen existing files</TD> <TD>Update specified files in the
253
archive that are older than the selected disk files.</TD> </TR>
254
<TR> <TD>Synchronize files</TD> <TD>Replace specified files only if
255
added files are newer. Always add those files, which are not
256
present in the archive. Delete from archive those files,
257
which are not present on the disk.</TD> </TR>
263
<P>Specifies compression options:</P>
265
<TR> <TH width="30%">Option</TH> <TH>Meaning</TH> </TR>
266
<TR> <TD>Create SFX archive</TD> <TD>Create self-extracting archive. You can use this option only
267
for 7z archives. Look to
268
<A href="../../../../cmdline/switches/sfx.htm">-sfx (Create SFX archive)</A> switch description for
269
more details about SFX modules.</TD> </TR>
270
<TR> <TD>Compress shared files</TD> <TD>Compress files open for writing by another applications.</TD> </TR>
276
<P>Specifies password and encryption options.</P>
278
<DT>Enter password</DT>
279
<DD>Specify passord here</DD>
280
<DT>Reenter password</DT>
281
<DD>Reenter passord here for verification</DD>
282
<DT>Show Password</DT>
283
<DD>Shows Password</DD>
284
<DT>Encryption method</DT>
285
<DD>Specifies the encryption method. For 7z format, it can be only AES-256.
286
For ZIP format you can select ZipCrypto or AES-256.
287
Use ZipCrypto, if you want to get archive compatible with most of the ZIP archivers.
288
AES-256 provides stronger encryption, but now AES-256 is supported only
289
by 7-Zip, WinZip and some other ZIP archivers.
290
<DT>Encrypt file names</DT>
291
<DD>Enables or disables archive header encryption, including file name encryption.</DD>