How to extract subfolder from 7zip archive?

Posted by SoMoS on Super User See other posts from Super User or by SoMoS
Published on 2011-01-13T17:19:05Z Indexed on 2011/01/13 18:55 UTC
Read the original article Hit count: 283

Filed under:
|
|

I have to extract a file from commandline with 7zip (or other free zip application) with the next structure:

MAIN_DIR\
         ---a
         ---b
         ---SUBDIR\
                   ---c 

I need the output structure to be the same but skipping the first folder so I end with:

---a
---b
---SUBDIR\
         ---c 

Can this be done with 7zip or other free commandline zip extractor?

Thanks in advance.

© Super User or respective owner

How to extract subfolder from 7zip archive?

Posted by SoMoS on Super User See other posts from Super User or by SoMoS
Published on 2011-01-13T17:18:18Z Indexed on 2011/01/13 18:55 UTC
Read the original article Hit count: 283

Filed under:
|
|

I have to extract a file from commandline with 7zip (or other free zip application) with the next structure:

MAIN_DIR\
         ---a
         ---b
         ---SUBDIR\
                   ---c 

I need the output structure to be the same but skipping the first folder so I end with:

---a
---b
---SUBDIR\
         ---c 

Can this be done with 7zip or other free commandline zip extractor?

Thanks in advance.

© Super User or respective owner

Related posts about zip

Related posts about extract