#!/bin/sh FULL_PATH=`cd $(dirname $0)/..; pwd` 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