man-pages/man1/zipnote.1.html
2021-03-31 01:06:50 +01:00

160 lines
3.1 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of zipnote</TITLE>
</HEAD><BODY>
<H1>zipnote</H1>
Section: User Commands (1)<BR>Updated: v3.0 of 8 May 2008<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
zipnote - write the comments in zipfile to stdout, edit comments and rename files in zipfile
<P>
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<I>zipnote</I>
[<B>-w</B>]
[<B>-b&nbsp;path</B>]
[<B>-h</B>]
[<B>-v</B>]
[<B>-L</B>]
zipfile
<P>
<A NAME="lbAD">&nbsp;</A>
<H2>ARGUMENTS</H2>
<BR>
zipfile Zipfile to read comments from or edit.
<P>
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
<DL COMPACT>
<DT id="1"><B>-w</B>
<DD>
Write comments to a zipfile from stdin (see below).
<DT id="2"><B>-b&nbsp;</B>path
<DD>
Use path for the temporary zip file.
<DT id="3"><B>-h</B>
<DD>
Show a short help.
<DT id="4"><B>-v</B>
<DD>
Show version information.
<DT id="5"><B>-L</B>
<DD>
Show software license.
<P>
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>DESCRIPTION</H2>
<I>zipnote</I>
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.
<P>
<A NAME="lbAG">&nbsp;</A>
<H2>EXAMPLES</H2>
To write all comments in a zipfile to stdout use for example
<P>
<PRE>
zipnote foo.zip &gt; foo.tmp
</PRE>
<P>
This writes all comments in the zipfile
<I>foo.zip</I>
to the file
<I>foo.tmp</I>
in a specific format.
<P>
<P>
If desired, this file can then be edited to change the comments and then used
to update the zipfile.
<P>
<PRE>
zipnote -w foo.zip &lt; foo.tmp
</PRE>
<P>
The names of the files in the zipfile can also be changed in this way. This is done by
following lines like
<PRE>
&quot;@ name&quot;
</PRE>
in the created temporary file (called
<I>foo.tmp</I>
here) with lines like
<PRE>
&quot;@=newname&quot;
</PRE>
and then using the -w option as above.
<P>
<A NAME="lbAH">&nbsp;</A>
<H2>BUGS</H2>
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.
<P>
Does not yet support large (&gt; 2 GB) or split archives.
<P>
<A NAME="lbAI">&nbsp;</A>
<H2>SEE ALSO</H2>
<A HREF="/cgi-bin/man/man2html?1+zip">zip</A>(1), <A HREF="/cgi-bin/man/man2html?1+unzip">unzip</A>(1)
<A NAME="lbAJ">&nbsp;</A>
<H2>AUTHOR</H2>
Info-ZIP
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="6"><A HREF="#lbAB">NAME</A><DD>
<DT id="7"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="8"><A HREF="#lbAD">ARGUMENTS</A><DD>
<DT id="9"><A HREF="#lbAE">OPTIONS</A><DD>
<DT id="10"><A HREF="#lbAF">DESCRIPTION</A><DD>
<DT id="11"><A HREF="#lbAG">EXAMPLES</A><DD>
<DT id="12"><A HREF="#lbAH">BUGS</A><DD>
<DT id="13"><A HREF="#lbAI">SEE ALSO</A><DD>
<DT id="14"><A HREF="#lbAJ">AUTHOR</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:31 GMT, March 31, 2021
</BODY>
</HTML>