Skip to content

Instantly share code, notes, and snippets.

@leekelleher
Created March 13, 2011 15:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leekelleher/868177 to your computer and use it in GitHub Desktop.
Save leekelleher/868177 to your computer and use it in GitHub Desktop.
Upgrade WordPress Shell Script
#!/bin/sh
# WordPress Update Script
# Written by: Lee Kelleher
# Released: 2008-04-23
# Email: lee # at # vertino # dot # net
# Released under GPL
echo "Downloading current version of WordPress..."
wget http://wordpress.org/latest.tar.gz
echo "Uncompressing WordPress archive..."
tar -zxvf latest.tar.gz
echo "Removing downloaded archive..."
rm -f latest.tar.gz
echo "WordPress Upgrade complete!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment