4 ms·
You can diff Unix configs with... diff I don't think it's ever advisible to tar -xf- -C / to fix a minor config issue. Just extract in tmp and diff -aru etc /e
by stonewareslord 6y ago
You can diff Unix configs with... diff
I don't think it's ever advisible to tar -xf- -C / to fix a minor config issue. Just extract in tmp and diff -aru etc /etc
- romwell 6y agoSure, but with .reg files all you need to do is look at the contents of the .reg file to see what the diff is. The .reg file is the diff. Could not have been simpler. That's one upside of the registry being a database rather than a text file.
- kevingadd 6y agoThe outer post was talking about helping family members with their computers. They're gonna be dragging files around in the Linux equivalent of Explorer, not extracting stuff to tmp and manually applying diffs. So doing a 1:1 comparison on that basis, the Registry has the standard tools of the trade on Linux beat. There's certainly no particular reason you couldn't send someone a .sh file that manually applies your diffs to grandma's config file, I guess... FWIW I've had Ubuntu system updates blow away entire config files (helpfully setting the old one aside, at least) instead of applying diffs, but maybe that was the package maintainers being naughty.