| 1 |
From: [email protected] Thu Aug 29 16:52:52 2002 |
| 2 |
Return-Path: <[email protected]> |
| 3 |
Delivered-To: [email protected] |
| 4 |
Received: from localhost (localhost [127.0.0.1]) |
| 5 |
by phobos.labs.netnoteinc.com (Postfix) with ESMTP id D36DD43F99 |
| 6 |
for <zzzz@localhost>; Thu, 29 Aug 2002 11:52:51 -0400 (EDT) |
| 7 |
Received: from phobos [127.0.0.1] |
| 8 |
by localhost with IMAP (fetchmail-5.9.0) |
| 9 |
for zzzz@localhost (single-drop); Thu, 29 Aug 2002 16:52:51 +0100 (IST) |
| 10 |
Received: from lugh.tuatha.org ([email protected] [194.125.145.45]) by |
| 11 |
dogma.slashnull.org (8.11.6/8.11.6) with ESMTP id g7TFlwZ18861 for |
| 12 |
<[email protected]>; Thu, 29 Aug 2002 16:47:58 +0100 |
| 13 |
Received: from lugh (root@localhost [127.0.0.1]) by lugh.tuatha.org |
| 14 |
(8.9.3/8.9.3) with ESMTP id QAA31616; Thu, 29 Aug 2002 16:46:26 +0100 |
| 15 |
Received: from dspsrv.com (vir.dspsrv.com [193.120.211.34]) by |
| 16 |
lugh.tuatha.org (8.9.3/8.9.3) with ESMTP id QAA31563 for <[email protected]>; |
| 17 |
Thu, 29 Aug 2002 16:45:49 +0100 |
| 18 |
X-Authentication-Warning: lugh.tuatha.org: Host vir.dspsrv.com |
| 19 |
[193.120.211.34] claimed to be dspsrv.com |
| 20 |
Received: from itg-gw.cr008.cwt.esat.net ([193.120.242.226] |
| 21 |
helo=waider.ie) by dspsrv.com with asmtp (Exim 3.35 #1) id |
| 22 |
17kRUR-00052Y-00; Thu, 29 Aug 2002 16:45:47 +0100 |
| 23 |
Message-Id: <[email protected]> |
| 24 |
Date: Thu, 29 Aug 2002 16:41:14 +0100 |
| 25 |
From: Waider <[email protected]> |
| 26 |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020827 |
| 27 |
X-Accept-Language: en-us, en |
| 28 |
MIME-Version: 1.0 |
| 29 |
To: [email protected] |
| 30 |
Cc: "[email protected]" <[email protected]> |
| 31 |
Subject: Re: [ILUG] Looking for a file / directory in zip file |
| 32 |
References: <[email protected]> |
| 33 |
X-Enigmail-Version: 0.65.2.0 |
| 34 |
X-Enigmail-Supports: pgp-inline, pgp-mime |
| 35 |
Content-Type: text/plain; charset=us-ascii; format=flowed |
| 36 |
Content-Transfer-Encoding: 7bit |
| 37 |
Sender: [email protected] |
| 38 |
Errors-To: [email protected] |
| 39 |
X-Mailman-Version: 1.1 |
| 40 |
Precedence: bulk |
| 41 |
List-Id: Irish Linux Users' Group <ilug.linux.ie> |
| 42 |
X-Beenthere: [email protected] |
| 43 |
|
| 44 |
-----BEGIN PGP SIGNED MESSAGE----- |
| 45 |
|
| 46 |
Justin MacCarthy wrote: |
| 47 |
| Is there a way to look for a particular file or directory in 100's of zip |
| 48 |
| files?? |
| 49 |
| Something like zgrep but for the filename instead of a word |
| 50 |
| |
| 51 |
| Thanks Justin |
| 52 |
| |
| 53 |
| |
| 54 |
|
| 55 |
probably there are more elegant solutions, but if your zips are in one |
| 56 |
directory you can do something like |
| 57 |
|
| 58 |
for i in *.zip |
| 59 |
do |
| 60 |
if unzip -v $i | grep -q FILEYOUWANT |
| 61 |
then |
| 62 |
~ echo $i |
| 63 |
fi |
| 64 |
done |
| 65 |
|
| 66 |
Cheers, |
| 67 |
Waider. |
| 68 |
- -- |
| 69 |
[email protected] / Yes, it /is/ very personal of me |
| 70 |
-----BEGIN PGP SIGNATURE----- |
| 71 |
Version: GnuPG v1.0.6 (GNU/Linux) |
| 72 |
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org |
| 73 |
|
| 74 |
iQEVAwUBPW5AmaHbXyzZsAb3AQH+qQgA1vnUjJUwGDa1yCRQd3vZAnhkCF0KDBBA |
| 75 |
o9MYq4CUg9cEzKALkTyZu4eOprhL50ReaICUGLMMEc5htU9zove4F+CSuvbAKKHL |
| 76 |
nx7xa6kk2V+LFnwS6hWpdQolCaT+4iGZZbdFwmyNAWb/IrEYB0R4gp05sitDOl5U |
| 77 |
RRlzYSM3IUYDrYpDUuX7Ta7bLvSdC1PpWSqy/wXphNIh7Bs2+eB9ERAujuqi6vJo |
| 78 |
MBichYb3f3teVCQUbxTcaMowjpmv/Xm3gdUlGrUFbpc2O7447Xi5uDfRexzzDoJT |
| 79 |
HlFS6OO2ZqzcMrtUYEgsfyqpaF1WuD38JoFpa2TmSyX74bBhxS8ecw== |
| 80 |
=KYCm |
| 81 |
-----END PGP SIGNATURE----- |
| 82 |
|
| 83 |
|
| 84 |
-- |
| 85 |
Irish Linux Users' Group: [email protected] |
| 86 |
http://www.linux.ie/mailman/listinfo/ilug for (un)subscription information. |
| 87 |
List maintainer: [email protected] |
| 88 |
|