Created
August 4, 2011 02:33
-
-
Save monsat/1124386 to your computer and use it in GitHub Desktop.
delete all cache files on CakePHP's app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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