Skip to content

Instantly share code, notes, and snippets.

@egel
Last active August 29, 2015 14:01
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 egel/6387f36f06ac1b827246 to your computer and use it in GitHub Desktop.
Save egel/6387f36f06ac1b827246 to your computer and use it in GitHub Desktop.
Simple bash commands for quick and simple change permissions to folders and files separetly in specific directory.
find ~/public_html/php-sql-sandbox -type d -exec chmod 755 {} \;
find ~/public_html/php-sql-sandbox -type f -exec chmod 644 {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment