{"id":5871,"date":"2019-12-23T14:42:58","date_gmt":"2019-12-23T06:42:58","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=5871"},"modified":"2020-05-05T16:07:39","modified_gmt":"2020-05-05T08:07:39","slug":"bzcmp","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/bzcmp","title":{"rendered":"bzcmp\u547d\u4ee4 – \u6bd4\u8f83.bz2\u538b\u7f29\u5305\u4e2d\u7684\u6587\u4ef6"},"content":{"rendered":"\n

bzcmp\u547d\u4ee4\u4e3b\u8981\u529f\u80fd\u662f\u5728\u4e0d\u771f\u6b63\u89e3\u538b\u7f29.bz2\u538b\u7f29\u5305\u7684\u60c5\u51b5\u4e0b\uff0c\u6bd4\u8f83\u4e24\u4e2a\u538b\u7f29\u5305\u4e2d\u7684\u6587\u4ef6\uff0c\u7701\u53bb\u4e86\u89e3\u538b\u7f29\u540e\u5728\u8c03\u7528cmp\u547d\u4ee4\u7684\u8fc7\u7a0b\u3002 <\/p>\n\n\n\n

bzcmp\u547d\u4ee4\u672c\u8eab\u81ea\u5df1\u6ca1\u6709\u4efb\u4f55\u9009\u9879\uff0c\u4f46\u662f\u53ef\u4ee5\u4f7f\u7528cmp\u547d\u4ee4\u7684\u76f8\u5173\u53c2\u6570\uff0c\u6240\u6709\u7684\u53c2\u6570\u5c06\u76f4\u63a5\u4f20\u9012\u7ed9cmp\u547d\u4ee4\u3002\u5728\u4f7f\u7528bzcmp\u547d\u4ee4\u65f6\uff0c\u4f1a\u5728\u4e34\u65f6\u76ee\u5f55\/tmp\u4e0b\u751f\u6210\u89e3\u538b\u540e\u7684\u6587\u4ef6\u4ee5\u4f9bcmp\u547d\u4ee4\u4f7f\u7528\u3002\u5b8c\u6bd5\u540e\u5220\u9664\u6b64\u4e34\u65f6\u6587\u4ef6\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>bzcmp [\u53c2\u6570] [\u6587\u4ef61] [\u6587\u4ef62]<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a\ufeff<\/strong><\/p>\n\n\n\n

--help<\/td>\u663e\u793a\u5e2e\u52a9<\/td><\/tr>
-v<\/td>\u663e\u793a\u7248\u672c\u4fe1\u606f<\/td><\/tr>
-s<\/td>\u4e0d\u663e\u793a\u9519\u8bef\u4fe1\u606f<\/td><\/tr>
-l<\/td>\u6807\u793a\u51fa\u6240\u6709\u4e0d\u4e00\u6837\u7684\u5730\u65b9<\/td><\/tr>
-i<\/td>\u6307\u5b9a\u4e00\u4e2a\u6570\u76ee<\/td><\/tr>
-c<\/td>\u9664\u4e86\u6807\u660e\u5dee\u5f02\u5904\u7684\u5341\u8fdb\u5236\u5b57\u7801\u4e4b\u5916\uff0c\u4e00\u5e76\u663e\u793a\u8be5\u5b57\u7b26\u6240\u5bf9\u5e94\u5b57\u7b26<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u6bd4\u8f83\u4e24\u4e2a\u538b\u7f29\u5305\u4e2d\u7684\u6587\u4ef6\u7684\u4e0d\u540c\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# bzcmp linuxcool.bz2 linuxprobe.bz2    <\/pre>\n\n\n\n

\u6bd4\u8f83\u4e24\u4e2a\u538b\u7f29\u5305\u4e2d\u7684\u6587\u4ef6\u7684\u4e0d\u540c\u5e76\u4e14\u4e0d\u663e\u793a\u9519\u8bef\u4fe1\u606f\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# bzcmp -s linuxcool.bz2 linuxprobe.bz2<\/pre>\n\n\n\n

\u6bd4\u8f83\u4e24\u4e2a\u538b\u7f29\u5305\u4e2d\u7684\u6587\u4ef6\u7684\u4e0d\u540c\uff0c\u4e14\u663e\u793a\u4e0d\u540c\u4e4b\u5904\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# bzcmp -l linuxcool.bz2 linuxprobe.bz2<\/pre>\n","protected":false},"excerpt":{"rendered":"

bzcmp\u547d\u4ee4\u4e3b\u8981\u529f\u80fd\u662f\u5728\u4e0d\u771f\u6b63\u89e3\u538b\u7f29.bz2\u538b\u7f29\u5305\u7684\u60c5\u51b5\u4e0b\uff0c\u6bd4\u8f83\u4e24\u4e2a\u538b\u7f29\u5305\u4e2d\u7684\u6587\u4ef6\uff0c\u7701\u53bb\u4e86\u89e3\u538b\u7f29\u540e\u5728\u8c03\u7528cm […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5871"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=5871"}],"version-history":[{"count":6,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5871\/revisions"}],"predecessor-version":[{"id":7494,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5871\/revisions\/7494"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=5871"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=5871"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=5871"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}