List only directories from the command line
If you’re in a Terminal session and would like to only list the directories of the current folder you’re in, do a ls -d */
If you’re in a Terminal session and would like to only list the directories of the current folder you’re in, do a ls -d */