name mode size
README.md 100644 1 kb
dropimport.sh 100644 0 kb
wpbackrepair.sh 100644 1 kb
wpermadb.sh 100644 1 kb
README.md
This collection of MySQL scripts includes the following BASH tools. wpbackrepair.sh Usage: wget hiyh.tk/wpbackrepair.sh sh wpbackrepair.sh The script will create a backup of the current WordPress directory files & database. When this is complete a prompt will appear to check the version, run a core replace for the WordPress, and enable a db repair at next login via wp-config.php. Valid wp-config.php database information required with adequate SQL priveleges. wp-cli alternative support intented in future releases. wpermadb.sh Usage: wget hiyh.tk/wpermadb.sh sh wpermadb.sh The wpermadb script will scan the wp-config.php present in the current directory, login, and upon receiving URLs, run a find and replace. Eventually will be appended with wp-cli alternatives. dropexport.sh Usage: wget hiyh.tk/dropexport.sh sh dropexport.sh The drop import script will drop all tables upon receiving a database name, user, and password - then import a new sql database. Works best if database is .sql format and located in present directory.