Compare and apply a diff / patch recursively
Read OriginalThis 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.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser