Skip to content

Instantly share code, notes, and snippets.

@alexlopes
Created October 24, 2019 14:31
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 alexlopes/442d7d4f0bb9eab4bff0d02a967b7530 to your computer and use it in GitHub Desktop.
Save alexlopes/442d7d4f0bb9eab4bff0d02a967b7530 to your computer and use it in GitHub Desktop.
freedom

Change permissions

# This will recursively search your directory tree (starting at dir 'dot') and chmod 755 all directories only.
find . -type d -exec chmod 755 {} \;
#Similarly, the following will chmod all files only (and ignore the directories):
find . -type f -exec chmod 644 {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment