LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 01:11 AM   #1
thomas2004ch
Member
 
Registered: Aug 2009
Posts: 539

Rep: Reputation: 33
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, 01:20 AM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
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, 01:15 AM   #3
thomas2004ch
Member
 
Registered: Aug 2009
Posts: 539

Original Poster
Rep: Reputation: 33
Maybe an exsample?
 
Old 09-30-2011, 03:06 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,361

Rep: Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692
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 11:42 AM
unzip many files...each zip file needs a directory linuxhippy Linux - General 10 01-17-2010 05:08 PM
Need help to unzip a .zip file with 2 files in it SanaJay Linux - Newbie 3 02-05-2009 02:43 AM
Why cann't unzip a .zip file? backpacker Linux - Newbie 1 02-05-2006 09:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:10 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
Open Source Consulting | Domain Registration