12 Jun 2010

WordPress Update Script

oss, personal 1 Comment

I have been using this script crontomagically update my wordpress installs on a VPS I host, thought it could be useful to others.

I remember releasing and older version of it before, but this one is way nicer. It works in both FreeBSD and Linux.

Download update-wordpress.sh

* Usage:
$ ./update-wordpress.sh <wordpress_install> [FETCH]

* Examples:
# Fetch latest version of wordpress and update /var/www/blog
$ ./update-wordpress.sh /var/www/blog FETCH

# Update /var/www/blog2 using last downloaded version
$ ./update-wordpress.sh /var/www/blog2

One Response to “WordPress Update Script”

  1. Augusto says:
    Nice little script, thanks for sharing. A great time saver (I can’t use automatic update because it requires ftp)

Leave a Reply