Desired filename is the first argument and folder you wish to recursively zip is second argument.
zip -r create.zip /direcotry/to/zip/
To exclude some file extension
cd /path/to/dir
zip -r create.zip . -x "*.log" -x "*.cache"
Desired filename is the first argument and folder you wish to recursively zip is second argument.
zip -r create.zip /direcotry/to/zip/
To exclude some file extension
cd /path/to/dir
zip -r create.zip . -x "*.log" -x "*.cache"