Upgrading Wordpress, the *nix way

I always forget the set of command line stuff I need to do when new version of WP is out. And always waste time figuring out what to do and which switches tar and cp needs. So, this is a reminder for the future.

    wget http://wordpress.org/latest.tar.gz
    gzip -d latest.tar.gz
    tar -xvf latest.tar
    cp -r wordpress/* SITE/wordpress

That should do it. Now off to upgrade rest of the blogs.

Replace SITE/wordpress with correct path for your installation.