Answer the question
In order to leave comments, you need to log in
How to unzip a zip file to the right directory?
I have file /var/www/html/magento/magento.zip . How can I unzip it to /var/www/html/magento/ directory?
I tried to do it this way, but got an error:
[email protected]:~ $ unzip /var/www/html/magento/magento.zip /var/www/html/magento/
Archive: /var/www/html/magento/magento.zip
caution: filename not matched: /var/www/html/magento/
Answer the question
In order to leave comments, you need to log in
The unzip directory must be passed with the -d argument .
unzip /var/www/html/magento/magento.zip -d /var/www/html/magento/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question