Created
March 5, 2014 21:12
-
-
Save keithmorris/9376695 to your computer and use it in GitHub Desktop.
Download latest Wordpress with one command. This uses curl to download and pipes through tar and removes the base 'wordpress' directory so that it extracts to the current working directory.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
curl -s http://wordpress.org/latest.tar.gz | tar xf - --strip 1 | |
echo "Done." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment