> Yes, but I want to know everything that's on the CD, not just the
> installed packages.


RPMS=/mnt/cdrom/RedHat/RPMS
FILE=rpms.tmp

 > $FILE

 for i in $RPMS/*.rpm; do
   echo -e \\n$i: >> $FILE
   rpm -qlp $i | grep -v /usr/'\<doc\|share\|man\>' >> $FILE 
 done

This will cut out some extraneous stuff (at least to me).


-- 
Hal B
[EMAIL PROTECTED]
--


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to