Zip
Basic usage
zip -r my_folder.zip my_folder
For max compression
zip -9 -r my_folder.zip my_folder
If you want to split the zip file into multiple parts of a certain size, you can use the -s option. For example, to split the zip file into 1 GB parts, you would type:
zip -s 1g -r my_folder.zip my_folder
This will create files named my_folder.zip, my_folder.z01, my_folder.z02, etc. To unzip them, you need to use the unzip command with the first file only 2:
unzip my_folder.zip
To exclude files
zip -r dump.zip . -x <file>