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?

1 Answer 1


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

unzip -oq vqmodmanager.zip upload/ -d temp/
  • 2
    you might need to specify upload/*
    – peterph
    Commented Dec 6, 2012 at 23:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .