summaryrefslogtreecommitdiff
path: root/bin/common/goo
blob: b0ebb0e53a7dbaef0bc0b30eee3e85d8a4bec43b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh

# 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

fd ${2:-.} -t ${1:-f}