Created
April 1, 2013 08:29
-
-
Save ckunte/5283820 to your computer and use it in GitHub Desktop.
Applying permissions to folders (755) and files (644) recursively.
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
#!/usr/bin/env sh | |
echo "Applying permissions to folders as 755, and to files as 644:" | |
find ~/Sites/ckunte.github.com -type d -exec chmod 755 {} + | |
find ~/Sites/ckunte.github.com -type f -exec chmod 644 {} + |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment