codice:
find /path/to/search -type d
Questo funziona, ma elenca anche le sottodirectory