\u5927\u5bb6\u5e73\u65f6\u5de5\u4f5c\u4e2d\u5bf9\u4e0d\u5e26\u7a7a\u683c\u7684\u6587\u4ef6\u63a5\u89e6\u8f83\u591a\u3002\u8fd9\u6837\u4e00\u6765\u5220\u9664\u64cd\u4f5c\u4e5f\u662f\u6bd4\u8f83\u7b80\u5355\u7684\u3002\u4f46\u662f\u6709\u65f6\u6211\u4eec\u4f1a\u63a5\u89e6\u5e26\u6709\u7a7a\u683c\u7684\u6587\u4ef6\u3002\u5bf9\u4e8e\u8fd9\u79cd\u6587\u4ef6\u6211\u4eec\u5e94\u8be5\u5982\u4f55\u5220\u9664\u5462\uff1f<\/p>\n
\u9996\u5148\u6211\u4eec\u6f14\u793a\u4e00\u4e0bfind\u547d\u4ee4\u7ed3\u5408xargs\u547d\u4ee4\u5220\u9664\u4e0d\u5e26\u7a7a\u683c\u7684\u6587\u4ef6<\/p>\n
\r\n[root@ELK-chaofeng test]# touch 1.txt 2.txt\r\n[root@ELK-chaofeng test]# ls\r\n1.txt 2.txt\r\n[root@ELK-chaofeng test]# find . -type f | xargs\r\n.\/1.txt .\/2.txt\r\n[root@ELK-chaofeng test]# find . -type f | xargs rm -rf\r\n[root@ELK-chaofeng test]# ls\r\n[root@ELK-chaofeng test]#\r\n<\/pre>\n\u63a5\u4e0b\u6765\u6211\u4eec\u6f14\u793a\u5220\u9664\u5e26\u6709\u7a7a\u683c\u7684\u6587\u4ef6<\/p>\n
\r\n[root@ELK-chaofeng test]# touch 1.txt 2.txt '1 2.txt'\r\n[root@ELK-chaofeng test]# ls\r\n1 2.txt 1.txt 2.txt\r\n[root@ELK-chaofeng test]# ll\r\ntotal 0\r\n-rw-r--r-- 1 root root 0 Feb 14 12:24 1 2.txt\r\n-rw-r--r-- 1 root root 0 Feb 14 12:24 1.txt\r\n-rw-r--r-- 1 root root 0 Feb 14 12:24 2.txt\r\n[root@ELK-chaofeng test]# find . -type f -print0 | xargs -0 rm -rf\r\n[root@ELK-chaofeng test]# ls\r\n<\/pre>\n\u4e0a\u9762\u7684\u53c2\u6570-print0\uff0c\u4e8e\u9ed8\u8ba4\u7684-print\u76f8\u6bd4\uff0c\u8f93\u51fa\u7684\u5e8f\u5217\u4e0d\u662f\u4ee5\u7a7a\u683c\u5206\u9694\uff0c\u800c\u662f\u4ee5null\u5b57\u7b26\u5206\u9694\u3002\u800cxargs\u4e5f\u6709\u4e00\u4e2a\u53c2\u6570-0\uff0c\u53ef\u4ee5\u63a5\u53d7\u4ee5null\u800c\u975e\u7a7a\u683c\u95f4\u9694\u7684\u8f93\u5165\u6d41\u3002<\/p>\n
\u4ee5\u4e0a\u5c31\u662f\u672c\u6587\u7684\u5168\u90e8\u5185\u5bb9\uff0c\u5e0c\u671b\u5bf9\u5927\u5bb6\u7684\u5b66\u4e60\u6709\u6240\u5e2e\u52a9\uff0c\u4e5f\u5e0c\u671b\u5927\u5bb6\u591a\u591a\u652f\u6301\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"
\u5927\u5bb6\u5e73\u65f6\u5de5\u4f5c\u4e2d\u5bf9\u4e0d\u5e26\u7a7a\u683c\u7684\u6587\u4ef6\u63a5\u89e6\u8f83\u591a\u3002\u8fd9\u6837\u4e00\u6765\u5220\u9664\u64cd\u4f5c\u4e5f\u662f\u6bd4\u8f83\u7b80\u5355\u7684\u3002\u4f46\u662f\u6709\u65f6\u6211\u4eec\u4f1a\u63a5\u89e6\u5e26\u6709\u7a7a\u683c\u7684\u6587\u4ef6\u3002\u5bf9\u4e8e […]<\/p>\n","protected":false},"author":63,"featured_media":177952,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-177950","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/177950","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/63"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=177950"}],"version-history":[{"count":2,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/177950\/revisions"}],"predecessor-version":[{"id":177953,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/177950\/revisions\/177953"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/177952"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=177950"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=177950"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=177950"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}