Last active
January 1, 2016 21:39
-
-
Save sepehr/8205400 to your computer and use it in GitHub Desktop.
Shell: Chmod recursively by type
This file contains hidden or 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
find . -type f -print0 | xargs -0 chmod 0644 | |
find . -type d -print0 | xargs -0 chmod 0755 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment