{"id":4186,"date":"2019-07-24T00:46:11","date_gmt":"2019-07-23T16:46:11","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=4186"},"modified":"2022-05-24T11:49:51","modified_gmt":"2022-05-24T03:49:51","slug":"rename","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/rename","title":{"rendered":"rename\u547d\u4ee4 – \u6279\u91cf\u4fee\u6539\u6587\u4ef6\u540d\u79f0"},"content":{"rendered":"\n

rename\u547d\u4ee4\u7684\u529f\u80fd\u662f\u7528\u4e8e\u6279\u91cf\u4fee\u6539\u6587\u4ef6\u540d\u79f0\u3002\u4e0emv\u547d\u4ee4\u4e00\u6b21\u53ea\u80fd\u4fee\u6539\u4e00\u4e2a\u6587\u4ef6\u540d\u4e0d\u540c\uff0crename\u547d\u4ee4\u80fd\u591f\u57fa\u4e8e\u6b63\u5219\u8868\u8fbe\u5f0f\u5bf9\u6587\u4ef6\u540d\u8fdb\u884c\u6279\u91cf\u4fee\u6539\uff0c\u4f46\u8981\u6c42\u662f\u628a\u5339\u914d\u89c4\u5219\u51c6\u786e\u7684\u63cf\u8ff0\u7ed9\u7cfb\u7edf\u3002<\/p>\n\n\n\n

rename\u547d\u4ee4\u7684\u53c2\u6570\u6709\u4e09\u9879\uff1a\u5176\u4e00\u662f\u5f53\u524d\u6587\u4ef6\u540d\u4e2d\u8981\u88ab\u4fee\u6539\u7684\u5b57\u7b26\uff0c\u5176\u4e8c\u662f\u5176\u8981\u88ab\u4fee\u6539\u4e3a\u7684\u65b0\u5b57\u7b26\uff0c\u5176\u4e09\u662f\u8981\u88ab\u6267\u884c\u7684\u5bf9\u8c61\u6587\u4ef6\u5217\u8868\u3002\u521d\u6b21\u53ef\u80fd\u6709\u70b9\u96be\u7406\u89e3\uff0c\u52a8\u624b\u5c1d\u8bd5\u4e0b\u5427~<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>rename \u539f\u5b57\u7b26 \u65b0\u5b57\u7b26 \u6587\u4ef6<\/p>\n\n\n\n

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

? <\/td>\u53ef\u66ff\u4ee3\u5355\u4e2a\u5b57\u7b26 <\/td><\/tr>
* <\/td>\u53ef\u66ff\u4ee3\u591a\u4e2a\u5b57\u7b26 <\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

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

\u5c06\u5f53\u524d\u5de5\u4f5c\u76ee\u5f55\u4e0b\u540e\u7f00\u4e3a.cfg\u7684\u6587\u4ef6\uff0c\u6539\u6210.txt\u540e\u7f00\u7ed3\u5c3e\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# rename .cfg .txt *<\/strong>\r<\/pre>\n\n\n\n

\u5c06\u5f53\u524d\u5de5\u4f5c\u76ee\u5f55\u4e0b\u6587\u4ef6\u540d\u4e2d\u7684\u5c0f\u5199a\u6539\u6210\u5927\u5199A\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# rename a A *<\/strong>\r<\/pre>\n","protected":false},"excerpt":{"rendered":"

rename\u547d\u4ee4\u7684\u529f\u80fd\u662f\u7528\u4e8e\u6279\u91cf\u4fee\u6539\u6587\u4ef6\u540d\u79f0\u3002\u4e0emv\u547d\u4ee4\u4e00\u6b21\u53ea\u80fd\u4fee\u6539\u4e00\u4e2a\u6587\u4ef6\u540d\u4e0d\u540c\uff0crename\u547d\u4ee4\u80fd\u591f\u57fa\u4e8e\u6b63 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/4186"}],"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=4186"}],"version-history":[{"count":12,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/4186\/revisions"}],"predecessor-version":[{"id":9972,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/4186\/revisions\/9972"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=4186"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=4186"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=4186"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}