Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 2 down vote accepted

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

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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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