Batch change files mode to 644 and directiories to 755

Like this:

find . -type d -print0 | xargs -0 chmod 0755
find . -type f -print0 | xargs -0 chmod 0644

Or like this:

find . -type d -exec chmod 0755 {} \;
find . -type f -exec chmod 0644 {} \;