Find directory

find <dir> -maxdepth 1 -type d -name '*foo*' -print -quit