Created
August 24, 2018 16:55
-
-
Save VRanger/baee19d9fbba47c415b89e61cc92e29c to your computer and use it in GitHub Desktop.
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
| #!/bin/bash | |
| find $HOME -type d -exec chmod 755 {} \; | |
| find $HOME -type f -exec chmod 644 {} \; | |
| find . -type f -name '*.h' -exec chmod 644 {} \; | |
| find . -type f -name '*.c' -exec chmod 644 {} \; | |
| find . -type f -name '*.py' -exec chmod 755 {} \; | |
| find . -type f -name '*.sh' -exec chmod 755 {} \; | |
| find . -type f -name '*.pl' -exec chmod 755 {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment