Ubuntu: How do I determine the uncompressed size of a zip file without decompressing it?


I have a large zip file and a limited amount of disk space. Can I determine how much space the expanded contents will take without decompressing the file?


You can do that by using the 'unzip' command with the "list" flag:

unzip -l yourzipfile.zip  

That will output a listing of every file in the zip along with its size in bytes, and the final line will be the total decompressed size in bytes.


When you open a ZIP-file with the archive manager, it tells you the size of the contained files.

If you want to know how much all or some contained files are, just mark them (to mark all files: CTRL+A) and take a look at the bar on the bottom.enter image description here

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »