For those of you who run your own blogs, and take care of the updates yourselves, I’ve created a WordPress Upgrade script. Note: This is a Linux/Unix/Mac OS X shell script, not a Windows batch file.
The script is very simple:
- Download the latest WordPress archive from the website
- Uncompress it to a temporary location
- Migrate all of the themes, plugins and uploads
- Copy over wp-config.php
- Back up the old version
- Move the new version into the proper folder
Inspiration for this came with this week’s WordPress 2.1.1 update. I figured if I have to keep up with all the security updates, I might as well just build a script to simplify matters.
Download a copy of the script from here.
Questions, comments, compliments or constructive criticism will be gladly accepted!