Created
September 12, 2012 16:07
-
-
Save scottnath/3707733 to your computer and use it in GitHub Desktop.
change chmod on a file or folder on command line/terminal
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
FILES to 664: | |
$ find /place/you/need/to/be/* -type f -exec chmod 664 {} \; | |
FOLDERS to 775: | |
$ find /place/you/need/to/be/* -type d -exec chmod 775 {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment