2011年8月16日 星期二

製作/apply patch

 製作patch
 diff -ruN FolderA FolderB > difference.patch
也可適用於file
diff -ruN FileA FileB > difference.patch

Apply patch
patch -p0 < difference.patch

example:
<script src='http://pastie.org/2379091.js'></script>
http://pastie.org/2379091

html mode Ref:
http://www.reality.hk/articles/2004/08/31/268/



透過Facebook分享

沒有留言: