Changeset View
Changeset View
Standalone View
Standalone View
branches/5.2.x/tools/clear_cache.sh
#!/bin/sh | #!/bin/sh | ||||
FULL_PATH=`cd $(dirname $0)/..; pwd` | FULL_PATH=`cd $(dirname $0)/..; pwd` | ||||
find "$FULL_PATH"/system/cache -mindepth 1 -maxdepth 1 -not -name "CVS" -not -name ".svn" -print0 | xargs -0 rm -Rf | find "$FULL_PATH"/system/cache -mindepth 1 -maxdepth 1 -not -name "CVS" -not -name ".svn" -not -name ".gitignore" -print0 | xargs -0 rm -Rf | ||||
rm -Rf "$FULL_PATH"/system/.restricted/debug_*.txt | rm -Rf "$FULL_PATH"/system/.restricted/debug_*.txt |