I would like to do this in Bash:
I\'ve been playing around with th
You can use the -quit option of find:
-quit
find
find -maxdepth 1 -type d -name '*foo*' -print -quit