Skip to content

Instantly share code, notes, and snippets.

@monsat
Created August 4, 2011 02:33
Show Gist options
  • Save monsat/1124386 to your computer and use it in GitHub Desktop.
Save monsat/1124386 to your computer and use it in GitHub Desktop.
delete all cache files on CakePHP's app
#!/bin/sh
cd /path/to/your_app_root
# ls
# cake app ...
find ./*/tmp/cache -type f \( -name 'cake_*' -o -name 'element_*' -o -name '*.*' \) -exec rm {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment