Java TAR example – compress and decompress *.tar or *.tar.gz files

This tutorial demonstrate how to compress files or directories recursively in .tar or .tar.gz format and how to decompress a .tar or .tar.gz file. Project Structure Let’s start by looking at the project structure....