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>u (Update) command</TITLE>
|
---|
6 | <LINK href="style.css" rel="stylesheet" type="text/css">
|
---|
7 | </HEAD>
|
---|
8 |
|
---|
9 | <BODY>
|
---|
10 |
|
---|
11 | <H1>u (Update) command</H1>
|
---|
12 |
|
---|
13 | <P>Update older files in the archive and add files that are not already in the archive.</P>
|
---|
14 |
|
---|
15 | <P>Note: the updating of solid .7z archives can be slow, since it
|
---|
16 | can require some recompression.</P>
|
---|
17 |
|
---|
18 | <H4>Example</H4>
|
---|
19 |
|
---|
20 | <PRE class="example">
|
---|
21 | 7z u archive.zip *.doc
|
---|
22 | </PRE>
|
---|
23 |
|
---|
24 | <P>updates <SPAN class="filename">*.doc</SPAN> files to archive
|
---|
25 | <SPAN class="filename">archive.zip</SPAN>.</P>
|
---|
26 |
|
---|
27 |
|
---|
28 | <H4>Notes</H4>
|
---|
29 |
|
---|
30 | <P>7-Zip doesn't uses the system wildcard parser. 7-Zip doesn't
|
---|
31 | follow the archaic rule by which *.* means any file. 7-Zip treats
|
---|
32 | *.* as matching the name of any file that has an extension. To process
|
---|
33 | all files, you must use a * wildcard.</P>
|
---|
34 |
|
---|
35 |
|
---|
36 | <H4>Switches that can be used with this command</H4>
|
---|
37 |
|
---|
38 | <P>
|
---|
39 | <A href="../switches/include.htm">-i (Include)</A><BR>
|
---|
40 | <A href="../switches/method.htm">-m (Method)</A><BR>
|
---|
41 | <A href="../switches/password.htm">-p (Set Password)</A><BR>
|
---|
42 | <A href="../switches/recurse.htm">-r (Recurse)</A><BR>
|
---|
43 | <A href="../switches/sfx.htm">-sfx (create SFX)</A><BR>
|
---|
44 | <A href="../switches/stdin.htm">-si (use StdIn)</A><BR>
|
---|
45 | <A href="../switches/stdout.htm">-so (use StdOut)</A><BR>
|
---|
46 | <A href="../switches/type.htm">-t (Type of archive)</A><BR>
|
---|
47 | <A href="../switches/update.htm">-u (Update)</A><BR>
|
---|
48 | <A href="../switches/working_dir.htm">-w (Working Dir)</A><BR>
|
---|
49 | <A href="../switches/exclude.htm">-x (Exclude)</A>
|
---|
50 | </P>
|
---|
51 |
|
---|
52 | <H4>See also</H4>
|
---|
53 |
|
---|
54 | <P>
|
---|
55 | <B>Commands:</B>
|
---|
56 | <A href="add.htm">a (Add)</A>,
|
---|
57 | <A href="delete.htm">d (Delete)</A>,
|
---|
58 | </P>
|
---|
59 |
|
---|
60 | <P>
|
---|
61 | <B>Switches:</B>
|
---|
62 | <A href="../switches/update.htm">-u (Update)</A>
|
---|
63 | </P>
|
---|
64 |
|
---|
65 | </BODY>
|
---|
66 | </HTML>
|
---|