{"id":3618,"date":"2019-06-28T11:32:16","date_gmt":"2019-06-28T03:32:16","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=3618"},"modified":"2019-06-28T11:32:17","modified_gmt":"2019-06-28T03:32:17","slug":"ar","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/ar","title":{"rendered":"ar\u547d\u4ee4 – \u5efa\u7acb\u6216\u4fee\u6539\u5907\u5b58\u6587\u4ef6"},"content":{"rendered":"\n

ar\u547d\u4ee4\u7528\u4e8e\u5efa\u7acb\u6216\u4fee\u6539\u5907\u5b58\u6587\u4ef6\uff0c\u6216\u662f\u4ece\u5907\u5b58\u6587\u4ef6\u4e2d\u62bd\u53d6\u6587\u4ef6\u3002\u53ef\u96c6\u5408\u8bb8\u591a\u6587\u4ef6\uff0c\u6210\u4e3a\u5355\u4e00\u7684\u5907\u5b58\u6587\u4ef6\u3002\u5728\u5907\u5b58\u6587\u4ef6\u4e2d\uff0c\u6240\u6709\u6210\u5458\u6587\u4ef6\u7686\u4fdd\u6709\u539f\u6765\u7684\u5c5e\u6027\u4e0e\u6743\u9650\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>ar [\u53c2\u6570]<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n
-d  <\/td>\u5220\u9664\u5907\u5b58\u6587\u4ef6\u4e2d\u7684\u6210\u5458\u6587\u4ef6 <\/td><\/tr>
-m  <\/td>\u53d8\u66f4\u6210\u5458\u6587\u4ef6\u5728\u5907\u5b58\u6587\u4ef6\u4e2d\u7684\u6b21\u5e8f <\/td><\/tr>
-p <\/td>\u663e\u793a\u5907\u5b58\u6587\u4ef6\u4e2d\u7684\u6210\u5458\u6587\u4ef6\u5185\u5bb9 <\/td><\/tr>
-q  <\/td>\u5c06\u6587\u4ef6\u9644\u52a0\u5728\u5907\u5b58\u6587\u4ef6\u672b\u7aef <\/td><\/tr>
-r  <\/td>\u5c06\u6587\u4ef6\u63d2\u5165\u5907\u5b58\u6587\u4ef6\u4e2d <\/td><\/tr>
-t <\/td>\u663e\u793a\u5907\u5b58\u6587\u4ef6\u4e2d\u6240\u5305\u542b\u7684\u6587\u4ef6<\/td><\/tr>
-x  <\/td>\u81ea\u5907\u5b58\u6587\u4ef6\u4e2d\u53d6\u51fa\u6210\u5458\u6587\u4ef6 <\/td><\/tr><\/tbody><\/table>\n\n\n\n

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

\u6253\u5305a.c b.c\u6587\u4ef6\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# ar rv one.bak a.c b.c <\/pre>\n\n\n\n

\u6253\u5305\u4ee5.c\u7ed3\u5c3e\u7684\u6587\u4ef6\uff08\u6253\u5305\u591a\u4e2a\u6587\u4ef6\uff09\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# ar rv two.bak *.c <\/pre>\n\n\n\n

\u663e\u793a\u6253\u5305\u6587\u4ef6\u7684\u5185\u5bb9\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# ar t two.bak<\/pre>\n\n\n\n

\u5220\u9664\u6253\u5305\u6587\u4ef6\u7684\u6210\u5458\u6587\u4ef6\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# ar d two.bak a.c b.c c.c <\/pre>\n\n\n\n

<\/p>\n","protected":false},"excerpt":{"rendered":"

ar\u547d\u4ee4\u7528\u4e8e\u5efa\u7acb\u6216\u4fee\u6539\u5907\u5b58\u6587\u4ef6\uff0c\u6216\u662f\u4ece\u5907\u5b58\u6587\u4ef6\u4e2d\u62bd\u53d6\u6587\u4ef6\u3002\u53ef\u96c6\u5408\u8bb8\u591a\u6587\u4ef6\uff0c\u6210\u4e3a\u5355\u4e00\u7684\u5907\u5b58\u6587\u4ef6\u3002\u5728\u5907\u5b58\u6587\u4ef6\u4e2d\uff0c\u6240 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[8],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3618"}],"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=3618"}],"version-history":[{"count":2,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3618\/revisions"}],"predecessor-version":[{"id":3638,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3618\/revisions\/3638"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=3618"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=3618"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=3618"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}