find top/directory -type f -exec chmod 0644 ‘{}’ \;
find top/directory -type d -exec chmod 0755 ‘{}’ \;

Iklan