Created
January 14, 2015 04:15
-
-
Save yugaego/eb0b62a5ba4bae361edf to your computer and use it in GitHub Desktop.
CLI find files/dirs and add permissions
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 f -print0 | xargs -0 chmod 664 -- add group write permission for files | |
find . -type d -print0 | xargs -0 chmod 775 -- add group write permission for directories |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment