From 785af9664c53346e6ffef300d0571f4b2ce4e8a6 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Mon, 18 Nov 2024 10:07:28 +0100 Subject: checkpoint --- bin/common/goo | 42 ++++++++++++++++++++++-------------------- 1 file changed, 22 insertions(+), 20 deletions(-) (limited to 'bin/common') 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} -- cgit v1.2.3