Update older files in the archive and add files that are not already in the archive.
Note: the updating of solid .7z archives can be slow, since it can require some recompression.
7z u archive.zip *.doc
updates *.doc files to archive archive.zip.
7-Zip doesn't use the system wildcard parser. 7-Zip doesn't follow the archaic rule by which *.* means any file. 7-Zip treats *.* as matching the name of any file that has an extension. To process all files, you must use a * wildcard.
-p (Set Password)
-sfx (create SFX)
-si (use StdIn)
-so (use StdOut)
-sni (Store NT security information)
-sns (Store NTFS alternate Streams)
-ssw (Compress shared files)
-spf (Use fully qualified file paths)
-stl (Set archive timestamp from the most recently modified file)
-t (Type of archive)
-w (Working Dir)
Commands: a (Add), d (Delete),
Switches: -u (Update)