Hi,
Did you try unzip command?
$ unzip -l zipfile.zip
will show you the contents of the archive without extracting it.
$ unzip -l zipfile.zip | grep JPG
will show you all the JPG files inside that archive.
HTH.
Cheers!
On Wed, Jun 17, 2009 at 2:08 PM, S.Selvam <s.selvamsiva@xxxxxxxxx> wrote:
Hi all,
I have to list zip file which contain jpg files.I tried to use
zgrep -i *.jpg *.zip,
but,it does not produce expected results.Googling helped me a very little.
I welcome your suggestions.
Note:Preferably,I dont want to unzip before serching as it contains large
set zip files.
--
Yours,
S.Selvam
_______________________________________________
To unsubscribe, email ilugc-request@xxxxxxxxxxxxx with
"unsubscribe <password> <address>"
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc