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.