LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 09-29-2011, 02:11 AM   #1
thomas2004ch
Member
 
Registered: Aug 2009
Posts: 507

Rep: Reputation: 31
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
 
Old 09-29-2011, 02:20 AM   #2
corp769
Guru
 
Registered: Apr 2005
Posts: 5,814

Rep: Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001
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
 
Old 09-30-2011, 02:15 AM   #3
thomas2004ch
Member
 
Registered: Aug 2009
Posts: 507

Original Poster
Rep: Reputation: 31
Maybe an exsample?
 
Old 09-30-2011, 04:06 PM   #4
jefro
Guru
 
Registered: Mar 2008
Posts: 12,087

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
Shouldn't a -list option exist to show the files?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
zip/unzip - file too big Joe Soap Linux - Newbie 13 03-14-2014 12:42 PM
unzip many files...each zip file needs a directory linuxhippy Linux - General 10 01-17-2010 06:08 PM
Need help to unzip a .zip file with 2 files in it SanaJay Linux - Newbie 3 02-05-2009 03:43 AM
Why cann't unzip a .zip file? backpacker Linux - Newbie 1 02-05-2006 10:25 PM


All times are GMT -5. The time now is 08:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration