Skip to content

Instantly share code, notes, and snippets.

@danny-allen
danny-allen / wp-download.sh
Created June 1, 2016 14:04 — forked from HoundstoothSTL/wp-download.sh
Download Wordpress through terminal and cleanup
#!/bin/bash
#Download the latest copy of WordPress into a directory, grab all the files in the new /wordpress folder
#Put all the files in the current directory, remove the now empty /wordpress directory
#Remove the tarball
#download latest wordpress with wget
wget http://wordpress.org/latest.tar.gz
#OR using CURL