View Single Post
  #7  
Old 05-11-2016, 10:34 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: X-Cart 5.2.14: Vendor rating, Order messages, Bugfixes

Code:
tar -zcvf storebak.tar.gz -C /home/ocha public_html

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 *
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote