Last active
December 28, 2015 01:59
-
-
Save zztimur/7424838 to your computer and use it in GitHub Desktop.
Bash script to clean up the magento temp directories and so..
This file contains 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
echo "# Cleaning var/cache..." | |
rm -rf ./public_html/var/cache/* | |
echo "# Cleaning var/log..." | |
rm -rf ./public_html/var/log/* | |
echo "# Cleaning var/report..." | |
rm -rf ./public_html/var/report/* | |
echo "* Cleaning var/sessions..." | |
rm -rf ./public_html/var/session/* | |
echo "* Cleaning var/mincache..." | |
rm -rf ./public_html/var/mincache/* | |
echo "* Cleaning var/export..." | |
rm -rf ./public_html/var/export/* | |
echo "* Cleaning var/package..." | |
rm -rf ./public_html/var/package/* | |
echo "* Cleaning downloader/.cache..." | |
rm -rf ./public_html/downloader/.cache/* | |
echo "* Cleaning downloader/pearlib/cache/*..." | |
rm -rf ./public_html/downloader/pearlib/cache/* | |
echo "* Cleaning downloader/pearlib/download/*..." | |
rm -rf ./public_html/downloader/pearlib/download/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment