[Techtalk] querying RPM for recently installed packages

Carla Schroder carla at bratgrrl.com
Tue May 25 16:58:31 EST 2004


halo,

Maximum RPM says this query shows RPMs installed within the last x days:

# find / -type f -mtime 14 | rpm -qF

Well this totally does not work, it doesn't even make sense- -F means freshen. 
-f = file, but it still doesn't find recently installed packages.

This lists every single package:
# rpm -qa --queryformat '%{installtime} %{name}-%{version}-%{release} 
%{installtime:date}\n' | sort -nr +1 | sed -e 's/^[^ ]* //'

Any brilliant notions?

thanks!

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Carla Schroder
this message brought to you
by Libranet 2.8 and Kmail
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



More information about the Techtalk mailing list