I'm not near a 'nix box but I think you could do...

for x in *.rpm; do
echo $x >> files.txt;
rpm -qpl $x | grep my_missing_file >> files.txt;
done

Regards

Rob

-----Original Message-----
From: Oscar [mailto:[EMAIL PROTECTED]]
Sent: 23 November 2001 09:30
To: [EMAIL PROTECTED]
Subject: Re: [expert] looking for a file.


David Boles wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Some package in Mandrake - Linux  v8.1 installed a file, add.wav, that I
used 
>as a sound effect. On my current installation that file is nowhere to be>
 found. 
>
>Is there a way to scan the RPMS on the CD's and find which package provided

>'add.wav'?
>
>- -- 
>
>David Boles
>Version: GnuPG v1.0.6 (GNU/Linux)
>My GnuPG ID:  78A3ABD0
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.0.6 (GNU/Linux)
>Comment: For info see http://www.gnupg.org
>
>iD8DBQE7/wgk/aa++Hijq9ARArEIAJwLfCPGO5zRDG49nq8AR2WUm7UbNQCglLCb
>7OwyiQzwhGXJGMTAy5gagi4=
>=Rz+0
>-----END PGP SIGNATURE-----
>
>
>------------------------------------------------------------------------
>
>Want to buy your Pack or Services from MandrakeSoft? 
>Go to http://www.mandrakestore.com
>
rpmdrake
Select "search by file" and type the file name.

Salu2
�scar








***>


==========================================================================
The information in this E-Mail and in any attachments is CONFIDENTIAL
and may be privileged.  If you are NOT the intended recipient, please
destroy this message and notify the sender immediately.  You should
NOT retain, copy or use this E-mail for any purpose, nor disclose all
or any part of its contents to any other person or persons.

Any views expressed in this message are those of the individual sender,
EXCEPT where the sender specifically states them to be the views of
Lloyd's.

Lloyd's may monitor the content of E-mails sent and received via its
network for viruses or unauthorised use and for other lawful
business purposes.
                                                                                       
                mail06
==========================================================================
> ************

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to