{"id":822398,"date":"2024-07-29T11:37:35","date_gmt":"2024-07-29T03:37:35","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/822398.html"},"modified":"2024-07-29T11:37:38","modified_gmt":"2024-07-29T03:37:38","slug":"%e9%b8%bf%e8%92%99%e5%bc%80%e5%8f%91%e6%96%87%e6%a1%a3%e7%bc%93%e5%ad%98%e6%80%8e%e4%b9%88%e6%b8%85%e9%99%a4","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/822398.html","title":{"rendered":"\u9e3f\u8499\u5f00\u53d1\u6587\u6863\u7f13\u5b58\u600e\u4e48\u6e05\u9664"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/27122716\/ce5e5712-cecb-4feb-936c-b96357b8b2db.webp\" alt=\"\u9e3f\u8499\u5f00\u53d1\u6587\u6863\u7f13\u5b58\u600e\u4e48\u6e05\u9664\" \/><\/p>\n<h2><strong>\u9e3f\u8499\u5f00\u53d1\u6587\u6863\u7f13\u5b58\u600e\u4e48\u6e05\u9664<\/strong><\/h2>\n<p><p><strong>\u9e3f\u8499\u5f00\u53d1\u6587\u6863\u7f13\u5b58\u6e05\u9664\u4e3b\u8981\u6709\u4e24\u79cd\u65b9\u6cd5\uff1a\u4e00\u3001\u901a\u8fc7\u5f00\u53d1\u8005\u6a21\u5f0f\u6e05\u9664\uff1b\u4e8c\u3001\u901a\u8fc7\u547d\u4ee4\u884c\u64cd\u4f5c\u6e05\u9664\u3002<\/strong> \u5f00\u53d1\u8005\u6a21\u5f0f\u662f\u6700\u5e38\u7528\u7684\u65b9\u6cd5\uff0c\u9002\u5408\u5927\u90e8\u5206\u5f00\u53d1\u8005\u3002\u800c\u547d\u4ee4\u884c\u64cd\u4f5c\u5219\u9002\u5408\u5bf9\u7535\u8111\u64cd\u4f5c\u66f4\u719f\u6089\u7684\u5f00\u53d1\u8005\u3002<\/p>\n<\/p>\n<p><p>\u63a5\u4e0b\u6765\uff0c\u6211\u4f1a\u8be6\u7ec6\u4ecb\u7ecd\u8fd9\u4e24\u79cd\u65b9\u6cd5\u7684\u64cd\u4f5c\u6b65\u9aa4\uff0c\u5e76\u5206\u4eab\u4e00\u4e9b\u4e2a\u4eba\u7684\u7ecf\u9a8c\u548c\u5c0f\u8d34\u58eb\u3002<\/p>\n<\/p>\n<p><h2>\u4e00\u3001\u901a\u8fc7\u5f00\u53d1\u8005\u6a21\u5f0f\u6e05\u9664<\/h2>\n<\/p>\n<p><p>\u5f00\u53d1\u8005\u6a21\u5f0f\u662f\u9e3f\u8499\u7cfb\u7edf\u63d0\u4f9b\u7684\u4e00\u79cd\u4e13\u95e8\u4e3a\u5f00\u53d1\u8005\u8bbe\u8ba1\u7684\u529f\u80fd\uff0c\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u66f4\u597d\u5730\u7ba1\u7406\u548c\u8c03\u8bd5\u5e94\u7528\u3002\u5176\u4e2d\u5305\u62ec\u4e86\u6e05\u9664\u7f13\u5b58\u7684\u529f\u80fd\uff0c\u901a\u8fc7\u8fd9\u4e2a\u529f\u80fd\uff0c\u6211\u4eec\u53ef\u4ee5\u5f88\u65b9\u4fbf\u5730\u6e05\u9664\u9e3f\u8499\u5f00\u53d1\u6587\u6863\u7684\u7f13\u5b58\u3002<\/p>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u6211\u4eec\u9700\u8981\u6253\u5f00\u5f00\u53d1\u8005\u6a21\u5f0f\u3002\u5728\u9e3f\u8499\u7cfb\u7edf\u7684\u8bbe\u7f6e\u4e2d\uff0c\u627e\u5230\u201c\u5f00\u53d1\u8005\u9009\u9879\u201d\uff0c\u6253\u5f00\u5b83\u3002\u7136\u540e\u5728\u5f00\u53d1\u8005\u9009\u9879\u4e2d\uff0c\u627e\u5230\u201c\u6e05\u9664\u7f13\u5b58\u201d\u9009\u9879\uff0c\u70b9\u51fb\u5b83\u3002\u8fd9\u65f6\uff0c\u7cfb\u7edf\u4f1a\u5f39\u51fa\u4e00\u4e2a\u63d0\u793a\uff0c\u8be2\u95ee\u6211\u4eec\u662f\u5426\u786e\u5b9a\u8981\u6e05\u9664\u7f13\u5b58\u3002\u6211\u4eec\u70b9\u51fb\u201c\u786e\u5b9a\u201d\uff0c\u7cfb\u7edf\u5c31\u4f1a\u5f00\u59cb\u6e05\u9664\u7f13\u5b58\u3002<\/p>\n<\/p>\n<p><p>\u6e05\u9664\u5b8c\u6210\u540e\uff0c\u6211\u4eec\u53ef\u4ee5\u5728\u5f00\u53d1\u8005\u6a21\u5f0f\u7684\u201c\u7f13\u5b58\u4fe1\u606f\u201d\u4e2d\u770b\u5230\uff0c\u7f13\u5b58\u5df2\u7ecf\u88ab\u6e05\u7a7a\u4e86\u3002<\/p>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u7684\u4f18\u70b9\u662f\u64cd\u4f5c\u7b80\u5355\uff0c\u53ea\u9700\u8981\u51e0\u6b65\u5c31\u53ef\u4ee5\u5b8c\u6210\u3002\u800c\u4e14\uff0c\u7531\u4e8e\u662f\u5728\u7cfb\u7edf\u5c42\u9762\u8fdb\u884c\u64cd\u4f5c\uff0c\u6e05\u9664\u7684\u7f13\u5b58\u5305\u62ec\u4e86\u5e94\u7528\u7684\u6240\u6709\u7f13\u5b58\uff0c\u5305\u62ec\u56fe\u7247\u3001\u6587\u4ef6\u7b49\u6240\u6709\u7c7b\u578b\u7684\u7f13\u5b58\u3002<\/p>\n<\/p>\n<p><h2>\u4e8c\u3001\u901a\u8fc7\u547d\u4ee4\u884c\u64cd\u4f5c\u6e05\u9664<\/h2>\n<\/p>\n<p><p>\u547d\u4ee4\u884c\u662f\u53e6\u4e00\u79cd\u6e05\u9664\u9e3f\u8499\u5f00\u53d1\u6587\u6863\u7f13\u5b58\u7684\u65b9\u6cd5\u3002\u8fd9\u79cd\u65b9\u6cd5\u9700\u8981\u4e00\u4e9b\u57fa\u672c\u7684\u547d\u4ee4\u884c\u64cd\u4f5c\u77e5\u8bc6\uff0c\u4f46\u662f\u5b83\u7684\u4f18\u70b9\u662f\u66f4\u52a0\u7075\u6d3b\uff0c\u53ef\u4ee5\u9488\u5bf9\u6027\u5730\u6e05\u9664\u67d0\u4e9b\u7c7b\u578b\u7684\u7f13\u5b58\u3002<\/p>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u6211\u4eec\u9700\u8981\u6253\u5f00\u547d\u4ee4\u884c\u5de5\u5177\u3002\u5728Windows\u7cfb\u7edf\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u201cCMD\u201d\uff1b\u5728Mac\u7cfb\u7edf\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u201c\u7ec8\u7aef\u201d\u3002<\/p>\n<\/p>\n<p><p>\u7136\u540e\uff0c\u6211\u4eec\u9700\u8981\u8f93\u5165\u4e00\u4e9b\u547d\u4ee4\u6765\u6e05\u9664\u7f13\u5b58\u3002\u8fd9\u91cc\uff0c\u6211\u4f1a\u4ee5\u6e05\u9664\u56fe\u7247\u7f13\u5b58\u4e3a\u4f8b\uff0c\u4ecb\u7ecd\u4e00\u4e0b\u64cd\u4f5c\u6b65\u9aa4\u3002<\/p>\n<\/p>\n<p><p>\u6211\u4eec\u8f93\u5165\u547d\u4ee4\u201ccd \/path\/to\/your\/project\u201d\uff0c\u5c06\u547d\u4ee4\u884c\u7684\u5de5\u4f5c\u76ee\u5f55\u5207\u6362\u5230\u6211\u4eec\u7684\u9879\u76ee\u76ee\u5f55\u3002\u7136\u540e\uff0c\u6211\u4eec\u8f93\u5165\u547d\u4ee4\u201cfind . -name &#039;*.png&#039; -delete\u201d\uff0c\u8fd9\u4e2a\u547d\u4ee4\u4f1a\u627e\u5230\u9879\u76ee\u76ee\u5f55\u4e2d\u6240\u6709\u7684.png\u6587\u4ef6\uff0c\u5e76\u5c06\u5b83\u4eec\u5220\u9664\u3002<\/p>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u7684\u4f18\u70b9\u662f\u53ef\u4ee5\u9488\u5bf9\u6027\u5730\u6e05\u9664\u7f13\u5b58\uff0c\u6bd4\u5982\u6211\u4eec\u53ea\u60f3\u6e05\u9664\u56fe\u7247\u7f13\u5b58\uff0c\u5c31\u53ef\u4ee5\u4f7f\u7528\u8fd9\u79cd\u65b9\u6cd5\u3002\u800c\u4e14\uff0c\u7531\u4e8e\u662f\u5728\u547d\u4ee4\u884c\u4e2d\u8fdb\u884c\u64cd\u4f5c\uff0c\u6211\u4eec\u53ef\u4ee5\u7075\u6d3b\u5730\u4f7f\u7528\u5404\u79cd\u547d\u4ee4\uff0c\u5bf9\u7f13\u5b58\u8fdb\u884c\u66f4\u7ec6\u81f4\u7684\u7ba1\u7406\u3002<\/p>\n<\/p>\n<p><p>\u4ee5\u4e0a\u5c31\u662f\u5173\u4e8e\u9e3f\u8499\u5f00\u53d1\u6587\u6863\u7f13\u5b58\u6e05\u9664\u7684\u4e24\u79cd\u65b9\u6cd5\u3002\u5728\u5b9e\u9645\u64cd\u4f5c\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u9700\u6c42\u548c\u6280\u80fd\u6c34\u5e73\uff0c\u9009\u62e9\u6700\u9002\u5408\u81ea\u5df1\u7684\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>1. \u5982\u4f55\u6e05\u9664\u9e3f\u8499\u5f00\u53d1\u6587\u6863\u7f13\u5b58\uff1f<\/strong><br \/>\n\u9e3f\u8499\u5f00\u53d1\u6587\u6863\u7f13\u5b58\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u6b65\u9aa4\u8fdb\u884c\u6e05\u9664\uff1a<\/p>\n<ul>\n<li>\u6253\u5f00\u9e3f\u8499\u5f00\u53d1\u6587\u6863\u5e94\u7528\u7a0b\u5e8f\u3002<\/li>\n<li>\u5728\u5e94\u7528\u7a0b\u5e8f\u754c\u9762\u4e0a\u65b9\u627e\u5230\u8bbe\u7f6e\u6309\u94ae\uff0c\u70b9\u51fb\u8fdb\u5165\u8bbe\u7f6e\u9009\u9879\u3002<\/li>\n<li>\u5728\u8bbe\u7f6e\u9009\u9879\u4e2d\uff0c\u627e\u5230&quot;\u6e05\u9664\u7f13\u5b58&quot;\u6216\u7c7b\u4f3c\u7684\u9009\u9879\uff0c\u5e76\u70b9\u51fb\u8fdb\u5165\u3002<\/li>\n<li>\u5728\u7f13\u5b58\u6e05\u9664\u9009\u9879\u4e2d\uff0c\u9009\u62e9\u786e\u8ba4\u6e05\u9664\u7f13\u5b58\u7684\u9009\u9879\u3002<\/li>\n<li>\u7b49\u5f85\u4e00\u6bb5\u65f6\u95f4\uff0c\u76f4\u5230\u7f13\u5b58\u6e05\u9664\u5b8c\u6210\u3002<\/li>\n<li>\u91cd\u65b0\u6253\u5f00\u9e3f\u8499\u5f00\u53d1\u6587\u6863\u5e94\u7528\u7a0b\u5e8f\uff0c\u7f13\u5b58\u5c06\u4f1a\u88ab\u6e05\u9664\u3002<\/li>\n<\/ul>\n<p><strong>2. \u4e3a\u4ec0\u4e48\u8981\u6e05\u9664\u9e3f\u8499\u5f00\u53d1\u6587\u6863\u7684\u7f13\u5b58\uff1f<\/strong><br \/>\n\u6e05\u9664\u9e3f\u8499\u5f00\u53d1\u6587\u6863\u7f13\u5b58\u6709\u4ee5\u4e0b\u51e0\u4e2a\u539f\u56e0\uff1a<\/p>\n<ul>\n<li>\u91ca\u653e\u5b58\u50a8\u7a7a\u95f4\uff1a\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\uff0c\u9e3f\u8499\u5f00\u53d1\u6587\u6863\u7684\u7f13\u5b58\u53ef\u80fd\u4f1a\u5360\u7528\u8f83\u5927\u7684\u5b58\u50a8\u7a7a\u95f4\uff0c\u6e05\u9664\u7f13\u5b58\u53ef\u4ee5\u91ca\u653e\u8fd9\u4e9b\u7a7a\u95f4\uff0c\u4f7f\u8bbe\u5907\u7684\u5b58\u50a8\u66f4\u4e3a\u5145\u8db3\u3002<\/li>\n<li>\u66f4\u65b0\u6700\u65b0\u6587\u6863\uff1a\u6e05\u9664\u7f13\u5b58\u540e\uff0c\u91cd\u65b0\u6253\u5f00\u9e3f\u8499\u5f00\u53d1\u6587\u6863\u5e94\u7528\u7a0b\u5e8f\u4f1a\u81ea\u52a8\u91cd\u65b0\u4e0b\u8f7d\u6700\u65b0\u7684\u6587\u6863\uff0c\u786e\u4fdd\u60a8\u53ef\u4ee5\u83b7\u53d6\u5230\u6700\u65b0\u7684\u5f00\u53d1\u6587\u6863\u548c\u8d44\u6e90\u3002<\/li>\n<li>\u4fee\u590d\u9519\u8bef\uff1a\u6709\u65f6\u5019\uff0c\u9e3f\u8499\u5f00\u53d1\u6587\u6863\u7684\u7f13\u5b58\u53ef\u80fd\u4f1a\u51fa\u73b0\u9519\u8bef\u6216\u635f\u574f\uff0c\u6e05\u9664\u7f13\u5b58\u53ef\u4ee5\u89e3\u51b3\u8fd9\u4e9b\u95ee\u9898\uff0c\u786e\u4fdd\u60a8\u80fd\u591f\u6b63\u5e38\u4f7f\u7528\u5f00\u53d1\u6587\u6863\u3002<\/li>\n<\/ul>\n<p><strong>3. \u6e05\u9664\u9e3f\u8499\u5f00\u53d1\u6587\u6863\u7f13\u5b58\u4f1a\u5220\u9664\u6211\u7684\u4e2a\u4eba\u8bbe\u7f6e\u5417\uff1f<\/strong><br \/>\n\u6e05\u9664\u9e3f\u8499\u5f00\u53d1\u6587\u6863\u7f13\u5b58\u4e0d\u4f1a\u5220\u9664\u60a8\u7684\u4e2a\u4eba\u8bbe\u7f6e\u3002\u7f13\u5b58\u4ec5\u4ec5\u662f\u4fdd\u5b58\u4e86\u4e00\u4e9b\u4e34\u65f6\u6570\u636e\u548c\u6587\u4ef6\uff0c\u5982\u5df2\u6d4f\u89c8\u7684\u6587\u6863\u3001\u4e66\u7b7e\u7b49\u3002\u6e05\u9664\u7f13\u5b58\u4e0d\u4f1a\u5f71\u54cd\u60a8\u7684\u4e2a\u4eba\u8bbe\u7f6e\u548c\u504f\u597d\uff0c\u60a8\u7684\u8d26\u6237\u4fe1\u606f\u3001\u4e3b\u9898\u8bbe\u7f6e\u7b49\u4f1a\u88ab\u4fdd\u7559\u4e0b\u6765\u3002\u53ea\u662f\u9700\u8981\u60a8\u91cd\u65b0\u4e0b\u8f7d\u5df2\u6d4f\u89c8\u7684\u6587\u6863\u548c\u91cd\u65b0\u8bbe\u7f6e\u4e66\u7b7e\u7b49\u4e2a\u6027\u5316\u8bbe\u7f6e\u3002\u6240\u4ee5\uff0c\u60a8\u53ef\u4ee5\u653e\u5fc3\u6e05\u9664\u9e3f\u8499\u5f00\u53d1\u6587\u6863\u7684\u7f13\u5b58\uff0c\u4e0d\u4f1a\u4e22\u5931\u60a8\u7684\u4e2a\u4eba\u8bbe\u7f6e\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u9e3f\u8499\u5f00\u53d1\u6587\u6863\u7f13\u5b58\u600e\u4e48\u6e05\u9664 \u9e3f\u8499\u5f00\u53d1\u6587\u6863\u7f13\u5b58\u6e05\u9664\u4e3b\u8981\u6709\u4e24\u79cd\u65b9\u6cd5\uff1a\u4e00\u3001\u901a\u8fc7\u5f00\u53d1\u8005\u6a21\u5f0f\u6e05\u9664\uff1b\u4e8c\u3001\u901a\u8fc7\u547d\u4ee4\u884c\u64cd\u4f5c\u6e05\u9664\u3002 [&hellip;]","protected":false},"author":3,"featured_media":822403,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/822398"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=822398"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/822398\/revisions"}],"predecessor-version":[{"id":822405,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/822398\/revisions\/822405"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/822403"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=822398"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=822398"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=822398"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}