Upgrading wordpress

Just so I have this written down…

Every time I upgrade wordpress I have to figure out how to get the files out of the tarball and into the directory where my blog lives. They tar up the wordpress files with a top level directory of wordpress/ and my files live in blog/. There are any number of hacky ways to accomplish this, however I wanted to do it with tar.

Mark clued me.

tar -C blog --strip-components=1 -zxvf wordpress-2.3.1.tar.gz

About Nathan Powell

I am a middle aged technologist freak-ball.
This entry was posted in computers. Bookmark the permalink.

Comments are closed.