diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-08-14 21:37:08 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-08-14 21:37:08 +0200 |
commit | e1893b1b31503adaa2c2484b57a5d7a4a5d0516c (patch) | |
tree | b0e490701fce7a94b803ff0505cabe8a7ffe19a9 /bin/common | |
parent | 0b8685b836fb3cc034857438bf87076fa39af1a1 (diff) |
[googoo] fixed destination argument not working
Diffstat (limited to 'bin/common')
-rwxr-xr-x | bin/common/goo | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/common/goo b/bin/common/goo index a56cbaf..cfd03ec 100755 --- a/bin/common/goo +++ b/bin/common/goo @@ -18,6 +18,6 @@ arduino15" for dir in $exclude; do dirs="$dirs -name \"$dir\" -o " done -cmd="find ${dest:-$HOME} \(${dirs} -false \) -prune -o -type ${1:-f} -mindepth 1 -print" +cmd="find ${2:-$HOME} \(${dirs} -false \) -prune -o -type ${1:-f} -mindepth 1 -print" eval "$cmd" 2>/dev/null |