Create diff of directory
$ diff -ruN OriginalDir UpdatedDir > PatchFile
Apply patch
$ patch -p1 -r <dir> < <patch-file>
from outside the dir.
Thx:https://www.shellhacks.com/create-patch-diff-command-linux/
Create diff of directory
$ diff -ruN OriginalDir UpdatedDir > PatchFile
Apply patch
$ patch -p1 -r <dir> < <patch-file>
from outside the dir.
Thx:https://www.shellhacks.com/create-patch-diff-command-linux/