Created
April 3, 2012 14:43
-
-
Save zachbrowne/2292567 to your computer and use it in GitHub Desktop.
Useful Bash Aliases
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias fix='sudo find /home/zach/www/*/public -type d -exec chmod 755 {} \; && sudo find /home/zach/www/*/public -type f -exec chmod 644 {} \; && sudo chown -R zach:zach /home/zach && sudo chown -R www-data:www-data /home/zach/www/*/public' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment