another attempt

This commit is contained in:
Zynh Ludwig 2024-08-01 03:30:05 -07:00
parent 2dd0f78052
commit c819235262

View file

@ -26,9 +26,9 @@ in
target=''${args[1]}
if [ -d "$target" ]; then
files=("$target/*")
files=(''${target}/*)
if [[ $($files[@]) -gt 0 ]]; then
if [[ $(#$files[@]) -gt 0 ]]; then
echo "~ Found Files at $target ~"
else
echo "~ No Files in $target ~"