1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
\r
4 <META http-equiv="Content-Type" content="text/html; charset=Windows-1252">
\r
5 <TITLE>u (Update) command</TITLE>
\r
6 <LINK href="style.css" rel="stylesheet" type="text/css">
\r
11 <H1>u (Update) command</H1>
\r
13 <P>Update older files in the archive and add files that are not already in the archive.</P>
\r
15 <P>Note: The current version of 7-Zip cannot change an archive which
\r
16 was created with the solid option switched on.
\r
17 To update a .7z archive you must create and update that archive only in non-solid
\r
18 mode (-ms=off switch).</P>
\r
22 <PRE class="example">
\r
23 7z u archive.zip *.doc
\r
26 <P>updates <SPAN class="filename">*.doc</SPAN> files to archive
\r
27 <SPAN class="filename">archive.zip</SPAN>.</P>
\r
32 <P>7-Zip doesn't uses the system wildcard parser. 7-Zip doesn't
\r
33 follow the archaic rule by which *.* means any file. 7-Zip treats
\r
34 *.* as matching the name of any file that has an extension. To process
\r
35 all files, you must use a * wildcard.</P>
\r
38 <H4>Switches that can be used with this command</H4>
\r
41 <A href="../switches/include.htm">-i (Include)</A><BR>
\r
42 <A href="../switches/method.htm">-m (Method)</A><BR>
\r
43 <A href="../switches/password.htm">-p (Set Password)</A><BR>
\r
44 <A href="../switches/recurse.htm">-r (Recurse)</A><BR>
\r
45 <A href="../switches/sfx.htm">-sfx (create SFX)</A><BR>
\r
46 <A href="../switches/stdin.htm">-si (use StdIn)</A><BR>
\r
47 <A href="../switches/stdout.htm">-so (use StdOut)</A><BR>
\r
48 <A href="../switches/shared.htm">-ssw (Compress shared files)</A><BR>
\r
49 <A href="../switches/type.htm">-t (Type of archive)</A><BR>
\r
50 <A href="../switches/update.htm">-u (Update)</A><BR>
\r
51 <A href="../switches/working_dir.htm">-w (Working Dir)</A><BR>
\r
52 <A href="../switches/exclude.htm">-x (Exclude)</A>
\r
59 <A href="add.htm">a (Add)</A>,
\r
60 <A href="delete.htm">d (Delete)</A>,
\r
65 <A href="../switches/update.htm">-u (Update)</A>
\r