Carlos E. R. wrote:
On 2022-06-28 10:05, Bengt Gördén wrote:
On 2022-06-27 11:23, Per Jessen wrote:
The easiest is just to run a diff -qrb /etc1 /etc2 - it'll give you too much of course, but it's easy to get rid of what isn't relevant.
I do the same. Sometimes I want to be able to see it all more graphically (read colors) so I make a patch and then use a tool like gitk or kompare to show the end result.
From the top of my head. ex. diff -ruN testdir1/ testdir2/ > thepatch.patch && kompare thepatch.patch
The result of that in my system can be many hundreds of lines. And unless it is the exact same hardware, it will not be relevant.
Carlos, you are putting up hurdles for yourself :-) Bengt was making a general example - in my own example, you would only get a list of the _filenames_ that are different. You could then relatively easily (but manually) filter out those with no bearing on the issue, and continue to look at those few that mattered. Very few lines in the end. -- Per Jessen, Zürich (20.5°C)