1ZIPDETAILS(1) User Contributed Perl Documentation ZIPDETAILS(1)
2
3
4
6 zipdetails - display the internal structure of zip files
7
9 zipdetails [-v] zipfile.zip
10 zipdetails -h
11
13 Zipdetails displays information about the internal record structure of
14 the zip file. It is not concerned with displaying any details of the
15 compressed data stored in the zip file.
16
17 The program assumes prior understanding of the internal structure of a
18 Zip file. You should have a copy of the Zip APPNOTE file at hand to
19 help understand the output from this program ("SEE ALSO" for details).
20
21 OPTIONS
22 -v Enable Verbose mode
23
24 -h Display help
25
26 By default zipdetails will output the details of the zip file in three
27 columns.
28
29 Column 1
30 This contains the offset from the start of the file in hex.
31
32 Column 2
33 This contains a textual description of the field.
34
35 Column 3
36 If the field contains a numeric value it will be displayed in hex.
37 Zip stored most numbers in little-endian format - the value
38 displayed will have the little-endian encoding removed.
39
40 Next, is an optional description of what the value means.
41
42 If the "-v" option is present, column 1 is expanded to include
43
44 · The offset from the start of the file in hex.
45
46 · The length of the filed in hex.
47
48 · A hex dump of the bytes in field in the order they are stored in
49 the zip file.
50
52 Error handling is still a work in progress. If the program encounters
53 a problem reading a zip file it is likely to terminate with an
54 unhelpful error message.
55
57 The primary reference for Zip files is the "appnote" document available
58 at <http://www.pkware.com/documents/casestudies/APPNOTE.TXT>.
59
60 An alternative reference is the Info-Zip appnote. This is available
61 from <ftp://ftp.info-zip.org/pub/infozip/doc/>
62
63 The "zipinfo" program that comes with the info-zip distribution
64 (<http://www.info-zip.org/>) can also display details of the structure
65 of a zip file.
66
67 See also Archive::Zip::SimpleZip, IO::Compress::Zip,
68 IO::Uncompress::Unzip.
69
71 Paul Marquess pmqs@cpan.org.
72
74 Copyright (c) 2011-2018 Paul Marquess. All rights reserved.
75
76 This program is free software; you can redistribute it and/or modify it
77 under the same terms as Perl itself.
78
79
80
81perl v5.28.1 2018-11-18 ZIPDETAILS(1)