Anyone know of a tool that will "prune" old rpms from a directory? What I'm referring to is something that will cruise through the /usr/src/redhat/RPMS and /usr/src/redhat/SRPMS and remove all but the newest files. After build rpms, you end up with things like: kernel-2.4.7-10.i686.rpm kernel-2.4.7-19.i686.rpm kernel-2.4.9-21.i686.rpm kernel-2.4.9-31.i686.rpm kernel-2.4.18-22.i686.rpm Ditto in the SRPMS directory. So something that would remove all but the kernel-2.4.18-22.i686.rpm would be nice.