If you need to exclude certain folders or subdirectories from a ZIP command on Linux / Unix then use this command:
zip zip_path/my_zip_file.zip -FSr zip_this_dir/ -x exclude_this_directory_from_the_zip\*
Exclude certain folders from a Zip command
If you need to exclude certain folders or subdirectories from a ZIP command on Linux / Unix then use this command:
zip zip_path/my_zip_file.zip -FSr zip_this_dir/ -x exclude_this_directory_from_the_zip\*