Tag Archives: directory

Linux: diff two directory to create patch

diff -b -r -w <DIR1> <DIR2> -N  -x ‘*.o’ -x ‘*.cmd’ -x ‘*.builtin’ -x ‘*.order’ > g_ncm.patch The -N option copies into the .patch files that exists in only one of the directory. Option: `-b’ Ignore changes in amount of … Continue reading

Posted in Linux | Tagged , , | Leave a comment