# this will create a new compressed version of 'folder-to-pack'
# but will not include any pdf fiels
tar fcvz /path/to/package.tar.gz --exclude='*.pdf' /path/to/folder-to-pack
admin