1 2 3 4
#!/bin/bash DIR=$(dirname $0) find $DIR/../cache/$1 -not -name .git\* -not -type d -delete find $DIR/../cache/$1 -empty -type d -delete