{"id":8726,"date":"2020-09-14T17:08:21","date_gmt":"2020-09-14T09:08:21","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=8726"},"modified":"2020-09-22T17:51:18","modified_gmt":"2020-09-22T09:51:18","slug":"bart","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/bart","title":{"rendered":"bart\u547d\u4ee4 -\u6587\u4ef6\u5b8c\u6574\u6027\u626b\u63cf\u548c\u62a5\u544a"},"content":{"rendered":"\n

bart \u547d\u4ee4\u662f\u4e00\u4e2a\u57fa\u4e8e\u89c4\u5219\u7684\u6587\u4ef6\u5b8c\u6574\u6027\u626b\u63cf\u548c\u62a5\u544a\u5de5\u5177\uff0c\u5b83\u4f7f\u7528\u52a0\u5bc6\u5f3a\u5ea6\u7684\u6821\u9a8c\u548c\u548c\u6587\u4ef6\u7cfb\u7edf\u5143\u6570\u636e\u6765\u62a5\u544a\u53d8\u5316\u3002<\/p>\n\n\n\n

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

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

-i<\/td>\u6307\u5b9a\u8981\u5728\u5168\u5c40\u8303\u56f4\u5185\u5ffd\u7565\u7684\u6587\u4ef6\u5c5e\u6027<\/td><\/tr>
-I<\/td>\u6307\u5b9a\u8f93\u5165\u7684\u6587\u4ef6\u5217\u8868<\/td><\/tr>
-n<\/td>\u9632\u6b62\u8ba1\u7b97\u6240\u6709\u7684\u5185\u5bb9\u7b7e\u540d<\/td><\/tr>
-p<\/td>\u5728\u201c\u7a0b\u5e8f\u6a21\u5f0f\u201d\u4e0b\u663e\u793a\u6e05\u5355\u6bd4\u8f83\u8f93\u51fa\uff0c\u8be5\u6a21\u5f0f\u9002\u5408\u8fdb\u884c\u7a0b\u5e8f\u89e3\u6790<\/td><\/tr>
-r rules_file<\/td>\u4f7f\u7528 rules_file<\/var> \u53ef\u6307\u5b9a\u8981\u5728\u76ee\u5f55\u4e2d\u5217\u51fa\u54ea\u4e9b\u6587\u4ef6\u548c\u76ee\u5f55\uff0c\u5e76\u5b9a\u4e49\u8981\u6807\u8bb0\u54ea\u4e9b\u6587\u4ef6\u5c5e\u6027\u5dee\u5f02<\/td><\/tr>
-R root_directory<\/td>\u6307\u5b9a\u6e05\u5355\u7684\u6839\u76ee\u5f55<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

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

\u521b\u5efa\u7f3a\u7701\u6e05\u5355\u4f46\u4e0d\u8ba1\u7b97\u6821\u9a8c\u548c\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# bart create -n<\/pre>\n\n\n\n

\u4e3a\u6307\u5b9a\u5b50\u6811\u521b\u5efa\u6e05\u5355\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# bart create -R \/home\/linuxprobe<\/pre>\n\n\n\n

\u4f7f\u7528\u6807\u51c6\u8f93\u5165\u521b\u5efa\u6e05\u5355\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# find \/home\/linuxprobe -print | bart create -I<\/pre>\n","protected":false},"excerpt":{"rendered":"

bart \u547d\u4ee4\u662f\u4e00\u4e2a\u57fa\u4e8e\u89c4\u5219\u7684\u6587\u4ef6\u5b8c\u6574\u6027\u626b\u63cf\u548c\u62a5\u544a\u5de5\u5177\uff0c\u5b83\u4f7f\u7528\u52a0\u5bc6\u5f3a\u5ea6\u7684\u6821\u9a8c\u548c\u548c\u6587\u4ef6\u7cfb\u7edf\u5143\u6570\u636e\u6765\u62a5\u544a\u53d8\u5316\u3002 \u8bed […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[11],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8726"}],"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=8726"}],"version-history":[{"count":4,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8726\/revisions"}],"predecessor-version":[{"id":8801,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8726\/revisions\/8801"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=8726"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=8726"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=8726"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}