How to skip one folder with 7zip

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 17:55 UTC
Read the original article Hit count: 281

Filed under:
|
|

Hello,

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 skip one folder with 7zip

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 17:55 UTC
Read the original article Hit count: 281

Filed under:
|
|

Hello,

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