Want to have a way to validate files. I can display from CD (once I know which package the file is in) so should be able to do diff and was able to do ls -l on an ascii file.
Is there a way to do this from the packages in /var/log/packages?
Can I extract the file from CD by doing:
gunsip <packageName.tar.gz> | tar -tvf <packageName.tar> | ls -l filename
How the Heck do I get a copy of it up to diff or compare though?
Need some clues here.
What do you mean my validating?
That's where one compares name, date, size, type, and content between 2 objects
I wrote a bash scriipt which scans directories selected for regular executable files, then performs an md5sums on them and save that and the files path/name to a database.
Later the data base can be run to verify/validate from that database to currently existing files of the same name. Individual files can be processed or the entire data base. It is quite fast and reports its progress too, as well as, whether a file is missing or not where it belongs.