The contents of a Wordpress Tarball are all contained within a single directory called "wordpress". I would like to upload the archive to my server (CentOS) and UnTar all the files directly to the root of my webserver. The problem is that everything is decompressed into the single "wordpress" directory within my document root. How can have all the contents of the "wordpress" decompressed into my document root without the "wordpress" directory? Thanks.
It would be simpler to untar everything on the destination, and let it create the wordpress folder, then copy the contents into your root. It also gives you an "untainted" copy so that if you need to you can copy the contents over again if something goes wrong.
So lets say for instance your web root is at:
And when you untar your upload, it ends up in
The command to copy it all (except hidden files would be)
There is very likely a .htaccess file as well, that would need a separate copy: