diff(1) all your configs
diff(1)all your configuration files
Ever tried comparing MySQL's
my.cnffrom a Debian and a Gentoo machine with
diff(1)without going crazy?
diff(1)is an awesome tool, you use it (or similar implementations like
svn diffetc) every day when dealing with code. But configuration files aren't code. Indentation often does not matter (yeah, there is
diff -wand yeah, people use YAML for configs), order of settings does not matter and comments are just beautiful noise.
cfgdiffwill try to parse your configuration files, fetching all the relevant keys and values from them and then pretty-printing them in the original format. These results are then diffed and the diff is shown to you.
cfgdiffcurrently supports the following formats: