I just want to change permissions for directories, not the files contained inside.
find . -type d -exec chmod 755 {} +
Assuming you are in the directory you want to start in:
find . -type d | xargs chmod 755
or any necessary permissions.
find . -type d -exec chmod 755 {} \;
Where do you want to change
find . -type d | xargs chmod a+x