GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
zipnote(1) FreeBSD General Commands Manual zipnote(1)

zipnote - write the comments in zipfile to stdout, edit comments and rename files in zipfile

zipnote [-w] [-b path] [-h] [-v] [-L] zipfile

zipfile Zipfile to read comments from or edit.

-w
Write comments to a zipfile from stdin (see below).
-b path
Use path for the temporary zip file.
-h
Show a short help.
-v
Show version information.
-L
Show software license.

zipnote 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.

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

     "@ name"
in the created temporary file (called foo.tmp here) with lines like
     "@=newname"
and then using the -w option as above.

The temporary file format is rather specific and zipnote is rather picky about it. It should be easier to change file names in a script.

Does not yet support large (> 2 GB) or split archives.

zip(1), unzip(1)

Info-ZIP
v3.0 of 8 May 2008

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.