diff -u original modded > mod.patch
-N : absent files as empty.
-a : text mode
-r : directory recursively
patch -p N < mod.patch
-p N : strip N leading components from file names
N=0 if diff and patch were performed under the same directory
沒有留言:
張貼留言