[plug] Which RPM?

Mike Holland myk at golden.wattle.id.au
Tue Jun 13 12:01:20 WST 2000


I ended up using a different method. Something like:

  cd /cdrom/Redhat/RPMS
  foreach f ( *.rpm ) { rpm -ql $f | gzip > /rhfiles/$f.gz }

Now I can just "zgrep <pattern> /rhfiles/*" and get a list of the files
with the package names. Works for older redhats too of course. And much
less disk space.

cheers,   (till eddies tonight?)

Mike Holland  <mike at golden.wattle.id.au>
                          --==--




More information about the plug mailing list