• find . -type d -exec chmod 0755 {} \; (for folders)
https://help.directadmin.com/item.php?id=589
find . -type f -exec file '{}' \;
Runs `file' on every file in or below the current directory. Notice that the braces are enclosed in single quote marks to protect them from interpretation as shell script punctuation. The semicolon is similarly protected by the use of a backslash, though single quotes could have been used in that case also.
(from Explainshell.com)
fdfind -t f -x chmod 644 {} (for files)