[CentOS] md5sum rpms >> list

Alan Sparks asparks at doublesparks.net
Fri Jan 27 18:38:16 UTC 2006


Andrew Rice said:
> Does anyone know in centos how to create an md5sum list based on the
> current rpms that I have installed right now
> on my box?

Not sure the question is clear... are you asking to get an md5 sig for
each file owned by an installed RPM?  Or the sig on the RPM itself?

If the former, a real quick starting point might be:
rpm -qa | xargs -i rpm -ql {} | xargs -i md5sum {}

===========
Alan Sparks, UNIX/Linux Systems Administrator    <asparks at doublesparks.net>




More information about the CentOS mailing list