Monday, May 6, 2024
 Popular · Latest · Hot · Upcoming
75
rated 0 times [  75] [ 0]  / answers: 1 / hits: 70458  / 2 Years ago, sun, august 21, 2022, 6:37:15

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?


More From » zip

 Answers
3

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.


[#32963] Sunday, August 21, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
poefor

Total Points: 379
Total Questions: 95
Total Answers: 115

Location: Serbia
Member since Tue, Jul 26, 2022
2 Years ago
poefor questions
;