I want to unzip a certail directory inside a zip file using the following command:

unzip -oq vqmodmanager.zip upload -d temp/

But the system gives the following error:

caution: filename not matched:  upload

Actually, there is a directory called upload inside the zip file.

How can I unzip that directory only?


Just try do append / to the directory name just as:

unzip -oq vqmodmanager.zip upload/ -d temp/
| improve this answer | |
  • 2
    you might need to specify upload/* – peterph Dec 6 '12 at 23:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.