How to compress in Java several files in one .gz file ?
You must somehow join them before gzipping. Gzip can compress only one file, so most frequent solution is to tar files first and them gzip newly created tar.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With