zip multiple folders in linux with selected file code example
Example 1: zip multiple files in linux
zip -r zip_name.zip "folder1" "folder2" "folder3" ...
Example 2: zip multiple folder in linux
zip -r zipname.zip folder1 folder2 folder3 ...
zip -r zip_name.zip "folder1" "folder2" "folder3" ...
zip -r zipname.zip folder1 folder2 folder3 ...