I'm very much a beginner at using SHELL
but hope someone can get me pointing in the right
direction here.
Lets say I have an empty public_html directory.
I have a Zip file that contains the full installation
for an ecommerce system I want to install.
Now I can upload the zip file to the root directory
and uncompress it using the CPanel file manager.
That's all fine, but it puts everything into a subdirectory
so that the active URL becomes
www.mydomain.com/ecommerce/index.php
when what I really want is everything to get
unpacked in the root directory so the active URL looks
like this
www.mydomain.com/index.php
The alternative is just to unpack the zip on my desktop
first and then FTP everything from there.
But of course its terribly inefficient.
Is there an easier way to do what I want with SHELL commands?
__________________
RATE-MY-WEBSITE.com "Free website reviews by real web professionals" Please login or register to view this content. Registration is FREE
|