diff options
Diffstat (limited to 'bin/common/goo')
-rwxr-xr-x | bin/common/goo | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/bin/common/goo b/bin/common/goo new file mode 100755 index 0000000..442f25c --- /dev/null +++ b/bin/common/goo @@ -0,0 +1,23 @@ +#!/bin/sh + +exclude=" +.cache +.mozilla +.npm +.git +site-packages +objects +instances +discord +Steam +?eclipse +VisualParadigm +intellij +arduino15" + +for dir in $exclude; do + dirs="$dirs -name \"$dir\" -o " +done +cmd="find ${2:-$HOME} \(${dirs} -false \) -prune -o -type ${1:-f} -print" + +eval "$cmd" 2>/dev/null |