Download Latest WordPress

Quick bash script for downloading latest WordPress on a server via ssh.

wget http://wordpress.org/latest.tar.gz && tar xfz latest.tar.gz && rm -rf wordpress/wp-content/ && mv wordpress/* ./ && rm -rf wordpress/ && rm -rf latest.tar.gz

3 Replies to “Download Latest WordPress”

    1. Yeh, I set this up before I knew about the wp-cli. 2015… – man I need to remove this stupid blog, I think I’ve had about 7 attempts at posting regularly, always fails, haha!

Leave a Reply