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

165 lines
3.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of ZIPDETAILS</TITLE>
</HEAD><BODY>
<H1>ZIPDETAILS</H1>
Section: Perl Programmers Reference Guide (1)<BR>Updated: 2020-10-19<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>
zipdetails - display the internal structure of zip files
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<PRE>
zipdetails [-v] zipfile.zip
zipdetails -h
</PRE>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
Zipdetails displays information about the internal record structure of the
zip file. It is not concerned with displaying any details of the compressed
data stored in the zip file.
<P>
The program assumes prior understanding of the internal structure of a Zip
file. You should have a copy of the Zip <FONT SIZE="-1">APPNOTE</FONT> file at hand to help
understand the output from this program (``<FONT SIZE="-1">SEE ALSO''</FONT> for details).
<A NAME="lbAE">&nbsp;</A>
<H3><FONT SIZE="-1">OPTIONS</FONT></H3>
<DL COMPACT>
<DT id="1">-v<DD>
Enable Verbose mode
<DT id="2">-h<DD>
Display help
</DL>
<P>
By default zipdetails will output the details of the zip file in three
columns.
<DL COMPACT>
<DT id="3">Column 1<DD>
This contains the offset from the start of the file in hex.
<DT id="4">Column 2<DD>
This contains a textual description of the field.
<DT id="5">Column 3<DD>
If the field contains a numeric value it will be displayed in hex. Zip
stored most numbers in little-endian format - the value displayed will have
the little-endian encoding removed.
<P>
Next, is an optional description of what the value means.
</DL>
<P>
If the <TT>&quot;-v&quot;</TT> option is present, column 1 is expanded to include
<DL COMPACT>
<DT id="6">&bull;<DD>
The offset from the start of the file in hex.
<DT id="7">&bull;<DD>
The length of the filed in hex.
<DT id="8">&bull;<DD>
A hex dump of the bytes in field in the order they are stored in the zip
file.
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>TODO</H2>
Error handling is still a work in progress. If the program encounters a
problem reading a zip file it is likely to terminate with an unhelpful
error message.
<A NAME="lbAG">&nbsp;</A>
<H2>SEE ALSO</H2>
The primary reference for Zip files is the ``appnote'' document available at
&lt;<A HREF="http://www.pkware.com/documents/casestudies/APPNOTE.TXT">http://www.pkware.com/documents/casestudies/APPNOTE.TXT</A>&gt;.
<P>
An alternative reference is the Info-Zip appnote. This is available from
&lt;<A HREF="ftp://ftp.info-zip.org/pub/infozip/doc/">ftp://ftp.info-zip.org/pub/infozip/doc/</A>&gt;
<P>
The <TT>&quot;zipinfo&quot;</TT> program that comes with the info-zip distribution
(&lt;<A HREF="http://www.info-zip.org/">http://www.info-zip.org/</A>&gt;) can also display details of the structure of
a zip file.
<P>
See also Archive::Zip::SimpleZip, IO::Compress::Zip,
IO::Uncompress::Unzip.
<A NAME="lbAH">&nbsp;</A>
<H2>AUTHOR</H2>
Paul Marquess <I><A HREF="mailto:pmqs@cpan.org">pmqs@cpan.org</A></I>.
<A NAME="lbAI">&nbsp;</A>
<H2>COPYRIGHT</H2>
Copyright (c) 2011-2018 Paul Marquess. All rights reserved.
<P>
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="9"><A HREF="#lbAB">NAME</A><DD>
<DT id="10"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="11"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DL>
<DT id="12"><A HREF="#lbAE"><FONT SIZE="-1">OPTIONS</FONT></A><DD>
</DL>
<DT id="13"><A HREF="#lbAF">TODO</A><DD>
<DT id="14"><A HREF="#lbAG">SEE ALSO</A><DD>
<DT id="15"><A HREF="#lbAH">AUTHOR</A><DD>
<DT id="16"><A HREF="#lbAI">COPYRIGHT</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>