How to chmod 755 all directories but no file (recursively)?

chmod 755 $(find /path/to/base/dir -type d)
chmod 644 $(find /path/to/base/dir -type f)

You may also like...