Created
July 23, 2011 19:25
-
-
Save gnepud/1101781 to your computer and use it in GitHub Desktop.
Using chmod to recursively change directories / files
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
cf: http://www.linuxquestions.org/questions/linux-software-2/using-chmod-to-recursively-change-directories-files-293310/ | |
find [YOURDIR] -type d -exec chmod 755 {} \; | |
find [YOURDIR] -type f -exec chmod 644 {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment