Wolfgang Pfeiffer wrote:

> Bret,
>   this doesn't work here:
> #############################################
> $ rpm -qf `find /usr/bin -type f -mtime -14`
> findutils-4.1.5-4
> findutils-4.1.5-4
> ##############################################
> 
> 
> [minutes later ...]
> oops,Bret, just found some solution:
> ########################
> rpm -qa --last
> ######################
> I think that's it ... although it gives a bit too much of output ..
> (just remembering the words "Keep it simple ...!" Was it A. Feininger, the
> American photographer, who said this  ... ??)
> 
> Thanks for your help, Bret.
> Wolfgang


One thing to keep in mind is that not all progs get installed in /bin 
there is /sbin ;/usr/bin;/usr/sbin/usr/local/bin  ...  The local stuff 
is probably not used by rpms much.  you could probably dig around and 
find a utility to ony get unique values to pipe the output to to clean 
up the output abit.  also teweaking on the number of days that you are 
finding files modified less than.  That is a terrible sentance but My 3 
yr old needs lunch so it will have to do :)

Bret



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to