Skip to content

Instantly share code, notes, and snippets.

@scottnath
Created September 12, 2012 16:07
Show Gist options
  • Save scottnath/3707733 to your computer and use it in GitHub Desktop.
Save scottnath/3707733 to your computer and use it in GitHub Desktop.
change chmod on a file or folder on command line/terminal
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