WordPress mass update script 3.4


This script will search /var/www (changeable in a variable) for any wordpress installs and make sure its upgraded to the latest version.
It will run a backup to /root/wp_upgrade/ of all files and database before doing anything with the site in case of major catastrophe (make sure you have spare disk space if your sites have a lot of uploaded files).

It pays to check each site after the upgrade to make sure plugins all worked (and upgrade plugins before the upgrade works also!)

Let me know if you have any bugs at all, or any problems.

Here’s your script to upgrade them all.

wget http://b.ri.mu/files/wordpress-upgrade.sh
bash wordpress-upgrade.sh

MD5
90df8a99a07f1d13fd23c77d218363ce wordpress-upgrade-3.4.sh

SHA1
0270b4a5106485d15c4d5710c58d72baa65cfdf2 wordpress-upgrade-3.4.sh

If you find any bugs or problems, just let me know at liz at rimuhosting dot com. I have now renamed the script to wordpress-upgrade.sh for easy future memorability (using symlinks to link to the latest version)


5 responses to “WordPress mass update script 3.4”

    • Heya, thanks, i think i may move to a more standard thing like tar in future :)