Created
January 9, 2014 09:22
-
-
Save nghuuphuoc/8331575 to your computer and use it in GitHub Desktop.
chmod files to 644 and all folders to 755
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 d -print0 | xargs -0 chmod 0775 | |
$ find . -type f -print0 | xargs -0 chmod 0664 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment