Zip
sudo apt install zip unzip
zip -r filename.zip folder
zip -r filename.zip folder1 folder2
zip -r filename.zip /path/to/folder1 /path/to/file2
unzip multiple files
unzip '*.zip'
remember to use quotes
with a size limit
zip -s 670m -r archive.zip directory/
Unzip:
“unsplit” the ZIP file using the “-s 0” switch:
zip -s 0 archive.zip --out unsplit.zip
… and then you unzip the unsplit file:
unzip unsplit.zip
ref: https://serverfault.com/questions/760337/how-to-zip-files-with-a-size-limit