Question: can i gzip a directory?
Answer: 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 .