Compare and apply a diff / patch recursively
Hacky way to keep config files in sync when there’s a new version of some software.
Caveat : probably completely wrong, may not pick up config entries added in the new version, etc. But, works for me right here right now ;-)
So let’s say we have two folders:
confluent-4.1.0 confluent-4.1.1 Same structures, different versions. 4.1.0 was set up with our local config in ./etc, that we want to preserve. We can use diff to easily see what’s changed: