history
ctrl+r
find /path/to/dir -type f -exec chmod 644 {} +
See: http://superuser.com/questions/91935/how-to-chmod-all-directories-except-files-recursively
history
ctrl+r
find /path/to/dir -type f -exec chmod 644 {} +
See: http://superuser.com/questions/91935/how-to-chmod-all-directories-except-files-recursively