Created
September 23, 2009 07:28
-
-
Save alexrinass/191808 to your computer and use it in GitHub Desktop.
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
# Chmod files with certain extension only | |
find . -type f -name "*\.pl" | xargs chmod 755 |
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
# Chmod only directories | |
find . -type d | xargs chmod 755 | |
# Chmod directories which contain blanks | |
find . -type d -exec chmod 2775 {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment