Skip to content

Instantly share code, notes, and snippets.

@keithmorris
Created March 5, 2014 21:12
Show Gist options
  • Save keithmorris/9376695 to your computer and use it in GitHub Desktop.
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.
#!/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