Last active
August 29, 2015 14:00
-
-
Save ivandoric/11211773 to your computer and use it in GitHub Desktop.
shell: Change all directories to 755 and all files to 644
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
find . -type d -print0 | xargs -0 chmod 0775 # For directories | |
find . -type f -print0 | xargs -0 chmod 0664 # For files |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment