1

I want to compress a file using Zlib (Best compression) i have googled a bit around and i have found a way to compress, but it isn't at the best compression level, I'd love to get some help

OS Details: Parrot Security OS Release 3.11 64-Bit Kernel Linux 4.14.0-parrot13-amd64 x86_64 MATE 1.18.0

3

1 Answer 1

1

According to my tests the pigz utility will do it like so...

pigz -z9 < file2Compress > outCompressedFile

Alternatively

zlib-flate -compress < yourFile2Compress > compressedFileName

However zlib-flate will only do default compression.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .