Real size of compressed file.

Real size of compressed file.

Post by Rakshit Sim » Wed, 03 May 1995 04:00:00



Hello,

How do I find the true size of a compressed file without uncompressing it ?
By true size, I mean the size of the equivalent uncompressed file.  I am
using the standard compress/uncompress on HPUX.

The '-v' option would be nice, but in this case, the files are already
compressed.

Much Thanks,
Rakshit.

 
 
 

Real size of compressed file.

Post by SethMeister » Wed, 03 May 1995 04:00:00


: Hello,

: How do I find the true size of a compressed file without uncompressing it ?
: By true size, I mean the size of the equivalent uncompressed file.  I am
: using the standard compress/uncompress on HPUX.

: The '-v' option would be nice, but in this case, the files are already
: compressed.

: Much Thanks,
: Rakshit.

 Try:

  uncompress -c {FILENAME} | wc -c

This will give you the # of bytes in the uncompressed file.

-S