write the comments in zipfile to stdout, edit comments and rename files in zipfile
see also :
edit - zip - unzip
[-w] [-b path]
[-h] [-v] [-L]
add an example, a script, a trick and tips
To write all comments in a zipfile to stdout use for example
zipnote foo.zip > foo.tmp
This writes all comments in the zipfile foo.zip to the
file foo.tmp in a specific format.
If desired, this file can then be edited to change the comments
and then used to update the zipfile.
zipnote -w foo.zip < foo.tmp
The names of the files in the zipfile can also be changed in this
way. This is done by following lines like
in the created temporary file (called foo.tmp here) with
and then using the -w option as above.
BinCommand zipnote :
[ FGristFiles $(common_files:S=.o) $(util_files:S=.o) ]
: be : zip.rsrc
| zipnote -w $PKG
/usr/bin/zipnote PrintVersion.zip > zipout
ampersand line; do
if [ "$ampersand" = "@" ]; then
/usr/bin/zipnote -w PrintVersion.zip < zipin
mv PrintVersion.zip PrintVersion
rm zipout zipin
writes the comments in a zipfile to stdout. This is the
default mode. A second mode allows updating the comments in
a zipfile as well as allows changing the names of the files
in the zipfile. These modes are described below.
Write comments to a zipfile from
stdin (see below).
Use path for the temporary zip
Show a short help.
Show version information.
Show software license.
zipfile Zipfile to read comments from or edit.
file format is rather specific and zipnote is rather picky
about it. It should be easier to change file names in a
Does not yet
support large (> 2 GB) or split archives.