Created
May 28, 2012 09:44
-
-
Save abarth500/2818216 to your computer and use it in GitHub Desktop.
Recursive chmod only of file or directory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# for all files | |
find . -type f -print | xargs chmod 644 | |
# for all firectories | |
find . -type d -print | xargs chmod 755 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment