Last active
December 30, 2015 15:38
-
-
Save RedHatter/7849183 to your computer and use it in GitHub Desktop.
Create a patch from 'original_directory' to 'patch_directory' of only the files with the extension 'ext'.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find original_directory patch_directory -type f ! -name '*.ext' -printf '%f\n' | diff -ru original_directory patch_directory -X - > project.patch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment