How to create tar.gz in Java
The tar is for collecting files into one archive file, aka tarball, and generally has the suffix .tar. The Gzip is for compress files to save space and generally has…
Favourite tutorials for developers
The tar is for collecting files into one archive file, aka tarball, and generally has the suffix .tar. The Gzip is for compress files to save space and generally has…
This article shows how to use ZipInputStream and zip4j library to unzip a zip file in Java. To unzip a file manually, remember to add validation for the zip slip…
This article shows a few examples to zip a single file and a whole directory (including sub-files and subdirectories): (1) Zip a file – java.util.zip, (2) Zip a file –…