Skip to content

Instantly share code, notes, and snippets.

@caine
Created November 20, 2012 20:21
Show Gist options
  • Save caine/4120794 to your computer and use it in GitHub Desktop.
Save caine/4120794 to your computer and use it in GitHub Desktop.
command sets 755 to directories and 644 to files
find ./* \( -type d -exec chmod 775 '{}' \; \) , \( -type f -exec chmod 664 '{}' \; \)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment