find . -type f -print0 | xargs -0 chmod 444

Change the type from f to d if you only want to change the permissions on the directories, Plus the permission of course.

find . -type d -print0 | xargs -0 chmod 755