All you needs is use the -x switch and list the files and directories to be excluded, separated by spaces. For example:
zip -r filename.zip directory -x directory/folderA\* directoryr/folderB\*
Comments are closed.