Chmod only directories

Sometimes a specific job needs to be done, possibly with a solution you’d never tought about …

I needed to chmod all the directories in a specified directory. I forgot how powerfull find is! duhuh

find /dir/to/chmod/all/dirs -type d -exec chmod 777 {} \;
find . -type d -exec chmod 755 {} \;