[plug] RPM

Earnshaw, Mike earnshawm at wa.switch.aust.com
Tue Aug 8 15:57:02 WST 2000


try ...
 
for f in *.rpm
    do
        if ["`rpm -qlp $f | grep /<what you are looking for>`" ! =""];
then echo $f; fi
    done
 
Mike

-----Original Message-----
From: Chris Darby [mailto:chris at mnet.com.au]
Sent: Tuesday, 8 August 2000 15:41
To: plug at plug.linux.org.au
Subject: [plug] RPM


i need to find a file in a packages, is there a way to search the files
in a list of packages to find this one file, and if there is how do i do
it ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20000808/a3eb0893/attachment.html>


More information about the plug mailing list