cache: All functionality that exists in the admin cache management panel. Plus some more! Really useful in deployment scripts.
snapshot: Create a compressed tar archive of the /media directory and a database dump into a directory called /snapshot. Useful for developers bootstrapping their local environments off of an existing development environment.
More to be added…
You can use this shell script like the other Magento shells. Help is provided.
Here’s example help output from the cache tool:
Usage: php -f cache.php — [options]
info Show Magento cache types.
–enable Enable caching for a cachetype.
–disable Disable caching for a cachetype.
–refresh Clean cache types.
–flush <magento|storage> Flushes slow|fast cache storage.
cleanmedia Clean the JS/CSS cache.
cleanimages Clean the image cache.
destroy Clear all caches.
help This help.
Comma separated cache codes or value “all” for all caches
Installation is very simple! Clone/copy the contents of /shell to your Magento /shell directory.