Directories:
find /path/to/directory -type d -exec chmod 755 {} +
Files
find /path/to/directory -type f -exec chmod 644 {} +
Examples for current directory
Sub-Directories:
find ./* -type d -exec chmod 755 {} +
Files in current directory and sub-directories
find ./* -type f -exec chmod 644 {} +