Upgrading wordpress
I’m lazy, so I just have this basic script I run that upgrades my wordpress:
#!/bin/bash
blog_directory=
update_url=
wget http://wordpress.org/latest.tar.gz
tar -xzvf latest.tar.gz
tar -zcvf blog-backup-$(date +’%F’).tar.gz $blog_directory
cp -rv wordpress/* $blog_directory
links $update_url
rm latest.tar.gz
How do you upgrade your wordpress?








Laziness is a programmers best friend. Why do it manually when you can be lazy and write a script to do it for you?
Comment by smerrell — March 20, 2008 @ 9:49 pm
Ohhh.. so Ugly..but should work
you may want to use subversion and update from an stable branch instead.
Comment by Cristian Rodriguez — March 23, 2008 @ 2:21 pm
I use Subversion to update all my Wordpress installs. Very very efficient.
Comment by AJ — May 11, 2008 @ 10:37 pm
I use the automatic upgrade plugin. Works well, even makes back-ups for you.
http://wordpress.org/extend/plugins/wordpress-automatic-upgrade/
Comment by Dan — May 12, 2008 @ 5:53 am