How to recursively Zip a folder and files on Linux

I just realized that I write about unzipping here, but I forgot to say anything about zipping. So this is a fast write-up on how to zip a folder recursively, and it’s containing folders and files on Linux.

And it’s easy and fast!

Just try to remember that you need the -r argument and that the zip’s name comes first, then the name of the folder you want to recursively zip.

The command is this:

zip -r folder

When looking to recursively create a zip archive of the folder named ‘folder’ that is named ‘’.

That’s it!

And here’s all you need to know about the df command in Linux if you want to read more about Linux.

If you want to support this blog consider joining me on Patreon!

Become a Patron!