tidy-cache is a plugin for YUM, a software management system found in many Linux distributions. It helps to minimize the size of YUM's cache directory by deleting RPM packages files if newer versions of the same package are also present in the cache. You can exclude specific packages from being tested and you can set the number of old versions to keep in the cache.