How do I loop through only directories in bash?
I have a folder with some directories and some files (some are hidden, beginning with dot). for d in *; do echo $d done will loop through all files, but I want to loop only through directories. ...
https://unix.stackexchange.com/questions/86722/how-do-i-loop-through-only-directories-in-bash