DEFLATE compression tools
Christopher Bongaarts
cab at umn.edu
Mon Nov 28 14:21:35 EST 2016
On 11/28/2016 8:52 AM, Tom Scavo wrote:
> Thanks for the pointer. The above thread is about decompressing a file
> in the ZLIB compressed data format (RFC 1950). Both ZLIB and GZIP (RFC
> 1952) are wrappers around DEFLATE-compressed data. I'm interested in
> the latter.
>
> For the archives, this thread shows how to obtain a DEFLATE-compressed
> data stream from a GZIP file:
>
> http://stackoverflow.com/questions/27066133/how-to-create-bare-deflate-stream-from-file-in-linux
Also for the archives - if you are scripting in Perl, see
IO::Compress::Deflate. Python has zlib.compress(), which I *think*
implements a bare deflate. And Ruby has Zlib::Deflate/Zlib::ZStream.
From what I can tell, all of these are "built-in" to the standard
distributions in recent versions.
One could also invoke one of these interpreters from a bash script as
well :)
--
%% Christopher A. Bongaarts %% cab at umn.edu %%
%% OIT - Identity Management %% http://umn.edu/~cab %%
%% University of Minnesota %% +1 (612) 625-1809 %%
More information about the dev
mailing list