summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xclean1
1 files changed, 1 insertions, 0 deletions
diff --git a/clean b/clean
index f5a2ee0..6c31526 100755
--- a/clean
+++ b/clean
@@ -1,3 +1,4 @@
#! /bin/sh
DIR=${1:-$HOME}
echo "clean $DIR" && find $DIR \( -name '*~' -o -name '*swp' -o -name '__MACOSX' -o -name .DS_Store \) -delete
+[ -d $HOME/.ccache ] && echo "clean ~/.cache" && find $HOME/.ccache -atime +15 -delete