chmod recursive on files or directories
find . -type d -exec chmod 755 {} \; find . -type f -exec chmod 644 {} \;