LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to find out a file in a WAR which in a zip without unzip the zip-file? (http://www.linuxquestions.org/questions/linux-software-2/how-to-find-out-a-file-in-a-war-which-in-a-zip-without-unzip-the-zip-file-905544/)

thomas2004ch 09-29-2011 02:11 AM

How to find out a file in a WAR which in a zip without unzip the zip-file?
 
Hi all,

I've a zip file which contains some WARs. In some of the WARs there are some wsdl-file. I want to find out these wsdl file but don't want to realy unzip the zip.

Any solution?

Thomas

corp769 09-29-2011 02:20 AM

Hello,

You can use zgrep for this - http://linux.about.com/library/cmd/blcmdl1_zgrep.htm
You also have gzcat, zcat, and zless. I suggest you check all of them out for the one that suits your needs the most.

Cheers,

Josh

thomas2004ch 09-30-2011 02:15 AM

Maybe an exsample?

jefro 09-30-2011 04:06 PM

Shouldn't a -list option exist to show the files?


All times are GMT -5. The time now is 10:18 PM.