Linux patch 发表于17 3 月, 2011由Leic Generate a patch: diff -Nur OldDir NewDir > xxx.patch Apply a patch patch –p 0 < xxx.patch