Skip to content

Instantly share code, notes, and snippets.

@yugaego
Created January 14, 2015 04:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yugaego/eb0b62a5ba4bae361edf to your computer and use it in GitHub Desktop.
Save yugaego/eb0b62a5ba4bae361edf to your computer and use it in GitHub Desktop.
CLI find files/dirs and add permissions
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