Recursively change file and directory permissions

I cam across this script o recursively change the file and directory permissions on a linux box.

find -type d -print0 |xargs -0 chmod 755
find -type f -print0 |xargs -0 chmod 644