summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2024-11-18 10:07:28 +0100
committerRaymaekers Luca <raymaekers.luca@gmail.com>2024-11-18 10:07:28 +0100
commit785af9664c53346e6ffef300d0571f4b2ce4e8a6 (patch)
treed54f14cf1ab492d24dc44a9dd1a32adc59a93ec6 /bin
parentfde23996e410c11ee82491380630f9cb8b02e9f8 (diff)
checkpoint
Diffstat (limited to 'bin')
-rwxr-xr-xbin/common/goo42
1 files changed, 22 insertions, 20 deletions
diff --git a/bin/common/goo b/bin/common/goo
index cf73838..b0ebb0e 100755
--- a/bin/common/goo
+++ b/bin/common/goo
@@ -1,23 +1,25 @@
#!/bin/sh
-exclude="
-.cache
-.mozilla
-.npm
-.git
-site-packages
-objects
-.minecraft/saves
-discord
-Steam
-?eclipse
-VisualParadigm
-intellij
-arduino15"
+# exclude="
+# .cache
+# .mozilla
+# .npm
+# .git
+# site-packages
+# objects
+# .minecraft/saves
+# discord
+# Steam
+# ?eclipse
+# VisualParadigm
+# intellij
+# arduino15"
+#
+# for dir in $exclude; do
+# dirs="$dirs -name \"$dir\" -o "
+# done
+# cmd="find ${2:-.} \(${dirs} -false \) -prune -o -type ${1:-f} -mindepth 1 -print"
+#
+# eval "$cmd" 2>/dev/null
-for dir in $exclude; do
- dirs="$dirs -name \"$dir\" -o "
-done
-cmd="find ${2:-.} \(${dirs} -false \) -prune -o -type ${1:-f} -mindepth 1 -print"
-
-eval "$cmd" 2>/dev/null
+fd ${2:-.} -t ${1:-f}