In the example below, I'm going to zip up a directory that includes images in both PNG and PSD file formats. However, I want to exclude the PSDs because they are huge!
zip -r my-compressed-dir-without-psd.zip directory-to-zip -x '*.psd'
Just finishing up brewing up some fresh ground comments...
Just finishing up brewing up some fresh ground comments...