Wednesday, November 1, 2017

Chmod files, not directories



File files only, starting in the current directory, executing chmod 644 on the found files, including files with spaces and starting with -


[user@localhost ]# sudo find . -type f -exec chmod 644 -- {} +

No comments: