[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gzip -l does not deal correctly with large files
From: |
Paul Eggert |
Subject: |
Re: gzip -l does not deal correctly with large files |
Date: |
Wed, 17 Oct 2007 22:53:08 -0700 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
The gzip documentation says:
The @command{gzip} format represents the input size modulo
@math{2^32}, so the uncompressed size and compression ratio are listed
incorrectly for uncompressed files 4 GiB and larger. To work around
this problem, you can use the following command to discover a large
uncompressed file's true size:
@example
zcat file.gz | wc -c
@end example