find /path/to/base/dir -type f -exec chmod 644 {} +