summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xclean2
1 files changed, 1 insertions, 1 deletions
diff --git a/clean b/clean
index 6c31526..ed6f328 100755
--- a/clean
+++ b/clean
@@ -1,4 +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
+[ -d $HOME/.ccache ] && echo "clean ~/.cache" && find $HOME/.ccache -type f -atime +15 -delete