From 5b5562e117360b23624423b3f08a58cb18957482 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Thu, 9 Aug 2018 07:58:12 +0200 Subject: clean : delete only files type from ccache --- clean | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.1-2-g2b99