{"id":1641,"date":"2019-10-31T14:15:33","date_gmt":"2019-10-31T06:15:33","guid":{"rendered":"https:\/\/ailog.tw\/lifelog\/?p=1641"},"modified":"2023-05-23T22:36:44","modified_gmt":"2023-05-23T14:36:44","slug":"linux-rmdelfile","status":"publish","type":"post","link":"https:\/\/ailog.tw\/lifelog\/2019\/10\/31\/linux-rmdelfile\/","title":{"rendered":"LINUX \u5927\u91cf\u522a\u9664\u3001\u8907\u88fd\u6a94\u6848\u6307\u4ee4"},"content":{"rendered":"<p>\u4e0d\u85cf\u79c1\u7cfb\u5217 -\u5c0f\u7de8\u5728Linux\u5e38\u7528\u6307\u4ee4\u5206\u4eab<\/p>\n<p>2023\u5e745\u6708\u66f4\u65b0\uff1a<\/p>\n<p><span style=\"color: #0000ff;\"><strong>[\u5927\u91cf\u522a\u9664\u6a94\u6848]<br \/>\n<span style=\"color: #ff0000;\">\u65b0\u65b9\u6cd5\uff1a<\/span><br \/>\n<\/strong><span style=\"color: #000000;\">\u5148\u628a\u8981\u522a\u9664\u7684\u6a94\u6848\u300c\u79fb\u52d5\u300d\u5230\u7279\u5b9a\u76ee\u9304\uff0c\u7136\u5f8c\u5728\u9032\u5165\u8a72\u8cc7\u6599\u593e\uff0c\u5c07\u6240\u4ee5\u6a94\u6848\u522a\u9664<\/span><br \/>\n<span style=\"color: #000000;\">mkdir del<\/span><br \/>\n<span style=\"color: #000000;\">mv *.log del\/<\/span><br \/>\n<span style=\"color: #000000;\">cd del<\/span><br \/>\n<span style=\"color: #000000;\">find .\/ -type f | xargs rm -f<\/span><strong><br \/>\n<\/strong><\/span><\/p>\n<p>\u820a\u65b9\u6cd5\uff1a<br \/>\nfind \/tempdata -type f -exec rm {} \\;<\/p>\n<p><strong><span style=\"color: #0000ff;\">[\u5927\u91cf\u8907\u88fd\u8cc7\u6599]<\/span><\/strong><br \/>\nrsync -avP \/home \/home2<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e0d\u85cf\u79c1\u7cfb\u5217 -\u5c0f\u7de8\u5728Linux\u5e38\u7528\u6307\u4ee4\u5206\u4eab 2023\u5e745\u6708\u66f4\u65b0\uff1a [\u5927\u91cf\u522a\u9664\u6a94\u6848] \u65b0\u65b9\u6cd5\uff1a \u5148\u628a\u8981\u522a\u9664\u7684\u6a94\u6848 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/ailog.tw\/lifelog\/2019\/10\/31\/linux-rmdelfile\/\" class=\"more-link\">\u95b1\u8b80\u5168\u6587<span class=\"screen-reader-text\">\u3008LINUX \u5927\u91cf\u522a\u9664\u3001\u8907\u88fd\u6a94\u6848\u6307\u4ee4\u3009<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,379],"tags":[6102,121,6101,71,574,573],"class_list":["post-1641","post","type-post","status-publish","format-standard","hentry","category-itinfo","category-linux","tag-bash-bin-rm-argument-list-too-long","tag-linux","tag-rm-rf","tag-71","tag-574","tag-573"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ailog.tw\/lifelog\/wp-json\/wp\/v2\/posts\/1641","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ailog.tw\/lifelog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ailog.tw\/lifelog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ailog.tw\/lifelog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ailog.tw\/lifelog\/wp-json\/wp\/v2\/comments?post=1641"}],"version-history":[{"count":4,"href":"https:\/\/ailog.tw\/lifelog\/wp-json\/wp\/v2\/posts\/1641\/revisions"}],"predecessor-version":[{"id":15761,"href":"https:\/\/ailog.tw\/lifelog\/wp-json\/wp\/v2\/posts\/1641\/revisions\/15761"}],"wp:attachment":[{"href":"https:\/\/ailog.tw\/lifelog\/wp-json\/wp\/v2\/media?parent=1641"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ailog.tw\/lifelog\/wp-json\/wp\/v2\/categories?post=1641"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ailog.tw\/lifelog\/wp-json\/wp\/v2\/tags?post=1641"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}