Is there a way to determine the original size or file count of a 7-zip archive?
Posted
by
Zac B
on Super User
See other posts from Super User
or by Zac B
Published on 2012-07-05T13:27:20Z
Indexed on
2012/07/05
15:18 UTC
Read the original article
Hit count: 319
I know that when I compress an archive with the 7za
utility, it gives me stats like the number of files processed and the amount of bytes processed (the original size of the data).
Is it possible, using the commandline (on linux) or some programming language, to determine:
- the original size of an archive, before it was compressed?
- the number of files/directories contained within an archive?
The answer might be "no, just decompress the whole archive and do counting/sizing then", but it would be useful to know if there was a faster/less space-greedy way.
© Super User or respective owner