linux zip all folders except one

Shell
-x "app/bower_components" -x "node_modules"

or

-x app/bower_components/\* -x node_modules/\*

or

-x "*.zip"zip -r myarchive.zip dir1 -x dir1/ignoreDir1/**\* dir1/ignoreDir2/**\*

Source

Also in Shell: