diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2018-08-09 07:58:12 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2018-08-09 07:58:12 +0200 |
commit | 5b5562e117360b23624423b3f08a58cb18957482 (patch) | |
tree | a3f9ecc105c29410c205872a512715c5141c72ee | |
parent | 4fcb8a81f6cad88a9f1d66cff49055e06037167c (diff) | |
download | bin-5b5562e117360b23624423b3f08a58cb18957482.zip bin-5b5562e117360b23624423b3f08a58cb18957482.tar.gz |
clean : delete only files type from ccache
-rwxr-xr-x | clean | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |