經安全檢測,此網站為安全網站,請放心前往原始網址!

bash - Checking from shell script if a directory contains files - Stack Overflow

From a shell script, how do I check if a directory contains files? Something similar to this if [ -e /some/dir/* ]; then echo "huzzah"; fi; but which works if the directory contains one or ...

stackoverflow.com

網址安全性掃描由 google 提供