Move to the directory you want to start chmodding files in and run the following:
Recursively set FILE permissions.
find . -type f -exec chmod 644 {} \+
Recursively set DIRECTORY permissions.
find . -type d -exec chmod 755 {} \+
*Note, obviously you can change the chmod number to whatever you want, 777, 600, etc.