Chmod Web directories from the command line

find /path/to/base/dir -type d -print0 | xargs -0 chmod 755
find /path/to/base/dir -type f -print0 | xargs -0 chmod 755

these guys rock
http://superuser.com/questions/91935/how-to-chmod-755-all-directories-but-no-file-recursively