chmod Recursively Files Only

Change file permissions recursively for files only in a Unix-like environment.

Code

find /DIRECTORY -type f -exec chmod 644 {} ;