1, 生成patch 文件
diff -crN abcdef.py getting.py > xfire-patch.diff
2,打补丁 操作
patch -p0 < xfire-patch.diff
3,校验MD5
root@HSCloudNode001:/opt# md5sum abcdef.py getting.py
472d91f4ae82f78a4c5581ce56467de8 abcdef.py
472d91f4ae82f78a4c5581ce56467de8 getting.py
本文转自 swq499809608 51CTO博客,原文链接:http://blog.51cto.com/swq499809608/1225801