Skip to content

Instantly share code, notes, and snippets.

@pinedamg
Last active October 7, 2015 22:49
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save pinedamg/3237645 to your computer and use it in GitHub Desktop.
Save pinedamg/3237645 to your computer and use it in GitHub Desktop.
Magento SSH

Magento SSH

Reset permissions

find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;
chmod -R o+w media var
chmod o+w app/etc

Convert Unix/DOS|PC Format

find . -type f -exec dos2unix {} \;
find . -type f -exec unix2dos {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment