Recursively change permission on files and directories
Recursively change permission on ONLY directories
find . -type d -exec chmod 755 {} \;
Recursively change permission on ONLY files
find . -type f -exec chmod 644 {} \;
Recursively change permission on a certain file extension
find . -type f -name '*.css' -exec chmod 644 {} \;