Skip to content

Instantly share code, notes, and snippets.

@jacquesbh
Created July 9, 2012 08:35
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 jacquesbh/3075121 to your computer and use it in GitHub Desktop.
Save jacquesbh/3075121 to your computer and use it in GitHub Desktop.
[bash] Get a magento extension (connect 2.0)
# Development - MAGENTO
# ====================================================
# Retrieve magento extension from Magento Connect 2.0
function getmage()
{
# Usage example for http://connect20.magentocommerce.com/community/Fooman_Speedster-2.0.8 :
# getmage community Fooman_Speedster 2.0.8
wget --directory-prefix=$HOME/Downloads/ http://connect20.magentocommerce.com/$1/$2/$3/$2-$3.tgz
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment