by

Tar + Gzip/Gunzip

On Linux, gzip is unable to compress a folder, it used to compress a single file only. To compress a folder, you should use tar + gzip, which is tar -z.

Create archive

tar -zcvf archive.tar.gz folder1/ folder2/ folder3/ ..

Inflate archive

tar -xvf archive.tar.gz

Write a Comment

Comment