Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How to unzip a file inside a zipped folder without unzipping the folder.zip using command line?

I have a zipped folder : folder.zip, the zip contains file1 and file2. I want to unzip file1 without unzipping folder.zip (Like what we can do using WinRaR). I want to be able to do this scenario using command line :

  • open (Without unzipping) folder.zip and display content
  • Find file1 inside folder.zip
  • Unzip file1
  • Get at the end file1 unzipped and folder.zip

I tried to do it using WinRaR application, and I’m expecting to do it using command line.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

Did you try unzip folder.zip my/file/in/folder/file1 the/other/file/in/folder/file2?

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading