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.
How do you zip two files in UNIX?
The Unix ZIP Command
To create a ZIP file, go to the command line and type “zip” followed by the name of the ZIP file you want to create and a list of files to include. For example, you could type “zip example. zip folder1/file1 file2 folder2/file3” to create a ZIP file called “example.
How do I zip multiple files at once?
To place multiple files into a zip folder, select all of the files while hitting the Ctrl button. Then, right-click on one of the files, move your cursor over the “Send to” option and select “Compressed (zipped) folder”.