Robin Moffatt 6/7/2018

Compare and apply a diff / patch recursively

Read Original

This article provides a practical, if hacky, method for synchronizing configuration files when upgrading software versions. It demonstrates using the 'diff' command to create a patch file between two directory structures (e.g., confluent-4.1.0 and confluent-4.1.1) and then using the 'patch' command to recursively apply those changes, preserving local customizations.

Compare and apply a diff / patch recursively

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

1
The Beautiful Web
Jens Oliver Meiert 2 votes
3
LLM Use in the Python Source Code
Miguel Grinberg 1 votes
4
Wagon’s algorithm in Python
John D. Cook 1 votes