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