Quote:
Originally Posted by qualiteam
You create an archive of the public_html directory, that's why it creates public_html inside the directory where you try to unpack the file.
Try this:
Code:
cd /home/ocha/public_html
tar -zcvf [your-path]/storebak.tar.gz .htaccess *
|
I did that, it created the file storebak.tar.gz in /home/ocha/public_html/dev
Now to unpack this, I assume I...
1) cd /home/ocha/public_html/dev
2) tar -zxvf storebak.tar.gz
Correct?