diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-04-22 14:52:57 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-04-22 14:52:57 +0200 |
commit | 1bb83f18cd5bf5a739f60141e62b63c2e9ba6036 (patch) | |
tree | 16691382ae72eea4647cc017fadb5d66e361dd92 /bin/common/goo | |
parent | bf2756fbb5db8ff2bd248ab5a528c31304263db2 (diff) |
changed fhome to goo
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 |