On Mon, 14 Jan 2002, Jack Bowling wrote:
> I use this stupidly simple bash script. I call it "rpmlist"
>
> rpm -qa --qf '%-20.20{VENDOR} %30.30{BUILDHOST} :: %{NAME}-%{VERSION}.%{ARCH}\n' |
>sort > /home/jb/rpm.lst
It's a good idea to incorporate this into your backup strategy, as it can
help recover or rebuild your system. My backup script includes:
rpm -qa > $WorkDir/rpmlist 2>&1
rpm -qia > $WorkDir/rpmdesc 2>&1
-------------------------------------------------------------------
DDDD David Kramer http://thekramers.net
DK KD There is an art, it says, or, rather, a knack to flying. The
DKK D knack lies in learning how to throw yourself at the ground
DK KD and miss. All it requires is simply the ability to throw
DDDD yourself forward with all weight, and the willingness not to
mind that it's going to hurt. That is, it's going to hurt if
you fail to miss the ground.
Douglas Adams, "Hitchhiker's Guide to the Galaxy".
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list