Created
June 12, 2012 13:59
-
-
Save 1stevengrant/2917700 to your computer and use it in GitHub Desktop.
bash file to clean an ExpressionEngine install of unrequired themes etc - courtesy of @monooso
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
#!/bin/bash | |
# ------------------------------------------------------------------------------ | |
# Simple script to tidy up a raw EE directory. It contains nothing in the way of | |
# error checking or the like. Use it at your own risk. | |
# | |
# Usage: | |
# Run the script from the command line, with a single argument: the path to the | |
# EE directory you'd like to clean. For example: | |
# | |
# $> bash ./cleanee.sh /path/to/ExpressionEngine\ 2.5.2/ | |
# | |
# You _must_ include the trailing slash. | |
# ------------------------------------------------------------------------------ | |
echo 'Deleting the Agile Records theme...' | |
rm -r ${1}themes/site_themes/agile_records | |
rm -r ${1}themes/profile_themes/agile_records | |
# ...and so forth... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment