I want to unzip an zip-archive, but just a subfolder in it.

Example structure archive.zip:

-rootfolder --subfolder ---subsubfolder

I just want to unzip subsubfolder with 7zip (preferably). How can I do it?

link|improve this question
feedback

migrated from stackoverflow.com Aug 20 '11 at 15:55

This question came from our site for professional and enthusiast programmers.

2 Answers

To unzip only the "doc" directory inside the zip file to "/tmp" directory You need to specify the absolute path of "doc" directory inside zip file.

[bash]$ unzip test.zip "test/doc/*" -d /tmp/

link|improve this answer
feedback

Open the archive.zip with the 7zip file manager. Click and highlight the subfolder. Extract. I'n not sure how to use the command line interface for this behavior.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown