jasteele123

cleanc5cache

Sep 14th, 2012
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.29 KB | None | 0 0
  1. #!/bin/sh
  2. # cleanc5cache - Clear the current concrete5 cache files
  3.  
  4. if test -d 'files'
  5. then
  6.  
  7. rm -fr ./files/cache_objects
  8. rm -f ./files/cache/zend_cache*
  9. rm -f ./files/cache/*.spc
  10. rm -fr ./files/tmp/*
  11. # rm -fr ./files/trash/*
  12.  
  13. else echo "Must be in a current concrete5 directory!"
  14. fi
Advertisement
Add Comment
Please, Sign In to add comment