I wanted to ensure that all files has the 644 permissions but I don't want the directories to have the same permissions.
First, I'll run it with ls -l
command to avoid accidental command execution.
find ./ -type f -name "*" -exec ls -l "{}" \;
Once confirmed that it finds the correct files, I can run the chmod command.
find ./ -type f -name "*" -exec chmod 644 "{}" \;