Find out the uncompressed size of a zip without decompressing it

If you are on low space on your hard disk, you can find out the uncompressed sizes of the files inside a zip archive, without unzipping it.

This is the command you need:

$ unzip -l ZipArchive.zip

The -l argument is for listing, the command does not extract the archive.

You will get a listiong of every file from the zip along with its uncompressed size (in bytes) and the total size on the final size (in bytes).

Liked it? Take a second to support Geekster on Patreon!
Tagged with: , , , ,
Posted in The Linux and Unix Articles!
One comment on “Find out the uncompressed size of a zip without decompressing it
  1. Michael says:

    It doesn’t work with big zip files (10 Gb for exemple)

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Support LinuxG via Patreon
Support LinuxG.net on Patreon!
Subscribe

  

Subscribe to get the latest Linux news and how to guides directly on your e-mail!