$ 0 0 While zipping dirs excluding some file extension:$ cd /path/to/dir$ zip -r dir.zip . -x "*.log" -x "*.cache"