diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-09-18 22:15:33 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-09-18 22:15:50 +0200 |
commit | cafd1c098f43e819beea1a3f2ae612c04dd9a514 (patch) | |
tree | a2e15cecdf28218f35d6f1a2465696316179e94c /bin/menuscripts | |
parent | 01ad9de3742a330c741a9b47f999a081ad296b1c (diff) |
[mmedia] added directory as pararmeter to script
Diffstat (limited to 'bin/menuscripts')
-rwxr-xr-x | bin/menuscripts/mmedia | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/menuscripts/mmedia b/bin/menuscripts/mmedia index bd31a58..3f7016c 100755 --- a/bin/menuscripts/mmedia +++ b/bin/menuscripts/mmedia @@ -29,6 +29,9 @@ case "$1" in exit 1 ;; esac +shift +[ "$1" ] && dirs="$1" + choice="$(find -L $dirs 2> /dev/null | grep "$regex" | sort | tee "$tmp" | |