I want to look for files polluting an old CentOS system in my company. Is there an easy way to do that?
If I understand correctly, you want to compare the list of all files on the system, with the list of files installed by RPMs. You should do something like this:
comm -13 <(rpm -qla | sort) <(find / -type f | sort)