How Do I Zip a Specific Folder in Linux?
Contents the Easiest Way to Zip a Folder on Linux Is to Use the “Zip” Command with the “-R” Option and Specify the File of Your Archive as Well as the Folders...
Contents
The easiest way to zip a folder on Linux is to use the “zip” command with the “-r” option and specify the file of your archive as well as the folders to be added to your zip file. You can also specify multiple folders if you want to have multiple directories compressed in your zip file.
How do I zip an individual folder?
Zip and unzip files
- Locate the file or folder that you want to zip.
- Press and hold (or right-click) the file or folder, select (or point to) Send to, and then select Compressed (zipped) folder. A new zipped folder with the same name is created in the same location.
Must Read
How do I zip a specific file in Linux?
In order to zip multiple files using the zip command, you can simply append all your filenames. Alternatively, you can use a wildcard if you are able to group your files by extension.