How to install wordpress into current working directory

Sadly the wordpress tar file contains a folder called wordpress that then contains all the files needed.

Lucky for us tar has a option for that:

curl http://wordpress.org/latest.tar.gz | tar xzv –strip-components 1

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.