Please find my OS details:
$ uname -a
AIX xxyy 1 6 000145364C00
I've tried the following command to get size of a file in gzip archive:
$ gzip -l mycontent.DAT.Gz
compressed uncompr. ratio uncompressed_name
-1223644243 1751372002 -75.3% mycontent.DAT.Gz
Not sure how to interpret the unzipped size from this. Compressed file size close to 4 GB.
So, I tried this option in order to capture correct data:
$ zcat mycontent.DAT.Gz | wc -c
It gives me this error:
mycontent.DAT.Gz.Z:A file or directory in the path name does not exist.
0
Can you please tell me how to capture this value from shell script without decompressing the source file?