|
|
Uncompressed size of bzip2'ed files
Hello,
I looked for this information in several places, including bzip2 source
code, but I as not able to find a satisfying answer: is there a way to
get the uncompressed size of a file compressed with bzip2 without
decompressing it ?
Gzip stores this information at the end of the compressed file, but
bzip2 does not seem to keep track of it.
thanks
|
|
0
|
|
|
|
Reply
|
pierre.maziere (1)
|
8/21/2006 10:21:04 AM |
|
On 2006-08-21, pierre.maziere@gmail.com <pierre.maziere@gmail.com> wrote:
> Hello,
>
> I looked for this information in several places, including bzip2 source
> code, but I as not able to find a satisfying answer: is there a way to
> get the uncompressed size of a file compressed with bzip2 without
> decompressing it ?
> Gzip stores this information at the end of the compressed file,
don't relay on that. you can concatenate two(or more) gzipped files and
on uncompressing it behaves like a single file.
begin 644 1.gz
M'XL(`&W%ZD0``RM)+2[A`@#&-;D[!0```!^+"`!VQ>I$``-3R$TM+DY,3^4"
)`&J>`?,)````
`
end
Bye.
Jasen
|
|
0
|
|
|
|
Reply
|
jasen
|
8/22/2006 8:52:24 AM
|
|
|
1 Replies
433 Views
(page loaded in 0.048 seconds)
|
|
|
|
|
|
|
|
|