Tag Archives: chmod

Recursively chmod only Directories or Files

This particular trick is invaluable, and I’m tired of googling it. You can read the original article here.

[note color=”#DDD”]Directories Only:
find . -type d -exec chmod 755 {} \;[/note] [note color=”#DDD”]Files Only:
find . -type f -exec chmod 644 {} \;[/note] And here are some other ones I […] Continue Reading
Posted in Googling for Answers, Linux Tagged ,