Frequent Question: How Do I Gzip a Folder in Ubuntu?
Contents

How do you gzip a folder?

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 .

How do I zip a folder in Ubuntu?

Zip a folder in Ubuntu Linux Using GUI

Go to the folder where you have the desired files (and folders) you want to compress into one zip folder. In here, select the files and folders. Now, right click and select Compress. You can do the same for a single file as well.

Sarah Jenkins

Sarah Jenkins

Senior Technology Editor & AI Specialist

Sarah Jenkins is a veteran tech journalist with over 12 years of experience covering artificial intelligence, mobile innovations, and digital ethics. Her insights have appeared in leading technology publications worldwide.

Share this article
Twitter Facebook Pinterest