On Mon, Oct 16, 2006 at 19:32:34 +0100, Paul Cager wrote: > I would like to be able to create a list of all of the configuration > files I have changed / created since installation. Mainly to make it > easy if I wanted to rebuild my system from scratch. > > I can get a list of installed packages easily enough (dpkg-query). > I can use the cruft package to find files I have added to /etc (and > other places if necessary). > > But I'm not sure of the best way to generate a list of files I have > changed. I could use "dpkg --contents" for each package to get a list of > files in the package and compare timestamps/sizes. But this only works > if the ".deb" files are still in /var/cache/apt/archives. Is there a > better way, such as cached MD5 sums somewhere?
The md5sums are in /var/lib/dpkg/info as "packagename.md5sums". "packagename.conffiles" (if present for packagename) lists all the configuration files; that might save you from calculating md5sums unnecessarily. -- Regards, Florian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]