I have a ZIP file, and I want to determine how it was compressed (the specific algorithm, properties used to apply that algorithm, etc.). How can I do this?
Analyzing properties of a ZIP file
archivingzip
archivingzip
I have a ZIP file, and I want to determine how it was compressed (the specific algorithm, properties used to apply that algorithm, etc.). How can I do this?
Best Answer
zipinfo
(from InfoZIP) will tell you a lot about a file.Sample output from
zipinfo -v
(using the "verbose" option-v
):If that is not enough, please explain which information you need.
Note that
zipinfo
functionality is actually part of theunzip
program (the two binaries are usually identical, or links to each other). You can invokeunzip -Z
to getzipinfo
's functionality. So if your installation should not have azipinfo
binary, you can useunzip -Z
instead.