Deletes files from archive.
7z d archive.zip *.bak -r
deletes *.bak files from 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.
-i (Include)
-m (Method)
-p (Set Password)
-r (Recurse)
-sns (Store NTFS alternate Streams)
-u (Update)
-w (Working Dir)
-x (Exclude)
Commands: a (Add), u (Update)
Switches:
-spf (Use fully qualified file paths)
-stl (Set archive timestamp from the most recently modified file)
-u (Update)