Categories
Programming

Magento – Upgrading Magento Core and Modules Via SSH

[shell]
chmod 550 ./mage
./mage mage-setup .
./mage sync
./mage install http://connect20.magentocommerce.com/community Mage_All_Latest –force
./mage upgrade-all –force
rm -rf downloader/.cache/* downloader/pearlib/cache/* downloader/pearlib/download/* var/cache/*
php shell/indexer.php reindexall
[/shell]