{"id":3991,"date":"2019-07-18T18:53:03","date_gmt":"2019-07-18T10:53:03","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=3991"},"modified":"2019-07-18T18:53:05","modified_gmt":"2019-07-18T10:53:05","slug":"mmove","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/mmove","title":{"rendered":"mmove\u547d\u4ee4 – \u79fb\u52a8\u6587\u4ef6\u6216\u76ee\u5f55"},"content":{"rendered":"\n

Linux mmove\u547d\u4ee4\u7528\u4e8e\u5728MS-DOS\u6587\u4ef6\u7cfb\u7edf\u4e2d\uff0c\u79fb\u52a8\u6587\u4ef6\u6216\u76ee\u5f55\uff0c\u6216\u66f4\u6539\u540d\u79f0\u3002<\/p>\n\n\n\n

mmove\u4e3amtools\u5de5\u5177\u547d\u4ee4\uff0c\u6a21\u62dfMS-DOS\u7684move\u547d\u4ee4\uff0c\u53ef\u5728MS-DOS\u6587\u4ef6\u7cfb\u7edf\u4e2d\u79fb\u52a8\u73b0\u6709\u7684\u6587\u4ef6\u6216\u76ee\u5f55\uff0c\u6216\u662f\u66f4\u6539\u73b0\u6709\u6587\u4ef6\u6216\u76ee\u5f55\u7684\u540d\u79f0\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong> mmove [\u6e90\u6587\u4ef6\u6216\u76ee\u5f55] [\u76ee\u6807\u6587\u4ef6\u6216\u76ee\u5f55]<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n
\u6e90\u6587\u4ef6\u6216\u76ee\u5f55 <\/td>\u6267\u884c\u64cd\u4f5c\u7684\u6e90\u6587\u4ef6\u6216\u76ee\u5f55\u8def\u5f84 <\/td><\/tr>
\u76ee\u6807\u6587\u4ef6\u6216\u76ee\u5f55 <\/td>\u6267\u884c\u64cd\u4f5c\u540e\u7684\u76ee\u6807\u6587\u4ef6\u6216\u76ee\u5f55\u8def\u5f84 <\/td><\/tr><\/tbody><\/table>\n\n\n\n

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

\u4f7f\u7528\u6307\u4ee4mmove\u5c06\u6587\u4ef6a.txt\u79fb\u52a8\u5230\u76ee\u5f55dir\u4e2d\uff1a <\/p>\n\n\n\n

[root@linuxcool ~]# mmove a.txt dir<\/pre>\n\n\n\n

\u4f7f\u7528\u6307\u4ee4mmove\u5c06\u6587\u4ef6”autorun.bat”\u79fb\u52a8\u5230\u76ee\u5f55”test”\u4e2d \uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# mmove autorun.bat test <\/pre>\n\n\n\n

\u4ee5\u4e0a\u547d\u4ee4\u6267\u884c\u4ee5\u540e\uff0c\u6307\u4ee4mmove\u4f1a\u5c06\u6587\u4ef6”autorun.bat”\u79fb\u52a8\u5230\u6307\u5b9a\u76ee\u5f55”test”\u4e2d\u3002 <\/p>\n\n\n\n

\u4f7f\u7528\u6307\u4ee4mmove\u5c06\u6587\u4ef6test\u79fb\u52a8\u5230\u76ee\u5f55”autorun.bat”\u4e2d \uff1a <\/p>\n\n\n\n

[root@linuxcool ~]# mmove test autorun.bat <\/pre>\n\n\n\n

\u6ce8\u610f\uff1a\u7528\u6237\u53ef\u4ee5\u4f7f\u7528mdir\u6307\u4ee4\u67e5\u770b\u79fb\u52a8\u540e\u7684\u6587\u4ef6\u6216\u76ee\u5f55\u4fe1\u606f\u3002<\/p>\n\n\n\n

\u4f7f\u7528\u8be5\u547d\u4ee4\u524d\u5148\u67e5\u770b\u539f\u6765\u7684\u76ee\u5f55\uff0c\u5f97\u5230\u5982\u4e0b\u7ed3\u679c\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# mdir -\/ a:\\* \nVolume in drive A has no label #\u52a0\u8f7d\u4fe1\u606f  \nVolume Serial Number is 13D2~055C  \nDirectory for A:\/ #\u4ee5\u4e0b\u4e3a\u76ee\u5f55\u4fe1\u606f  \n#\u6587\u4ef6\u540d\u76ee\u5f55\u5927\u5c0f \u4fee\u6539\u65f6\u95f4  \n.\/TEST <DIR><\/strong> 2009-09-23 16:59  \nAUTORUN.INF 265 2009-09-23 16:53  \nAUTORUN.BAT 43 2009-09-23 16:56  \n3 files 308 bytes #\u7edf\u8ba1\u603b\u5927\u5c0f  \n724 325 bytes free #\u5269\u4f59\u7a7a\u95f4<\/pre>\n\n\n\n

\u4f7f\u7528mmove\u547d\u4ee4\uff0c\u5e76\u518d\u6b21\u67e5\u770b\uff0c\u7ed3\u679c\u5982\u4e0b\uff1a <\/p>\n\n\n\n

[root@linuxcool ~]# mmove autorun.bat test\n[root@linuxcool ~]# mdir -\/ a:\\*\nVolume in drive A has no label #\u52a0\u8f7d\u4fe1\u606f  \nVolume Serial Number is 13D2~055C  \nDirectory for A:\/ #\u4ee5\u4e0b\u4e3a\u76ee\u5f55\u4fe1\u606f  \n#\u6587\u4ef6\u540d\u76ee\u5f55\u5927\u5c0f \u4fee\u6539\u65f6\u95f4  \n.\/TEST <DIR><\/strong> 2009-09-23 16:59  \nAUTORUN.INF 265 2009-09-23 16:53  \n2 files 265 bytes #\u7edf\u8ba1\u603b\u5927\u5c0f  \n724 683 bytes free #\u5269\u4f59\u7a7a\u95f4  \ncmd@cmd-desktop:~$ mdir -\/ a:\\test\\* #\u518d\u6b21\u67e5\u770btest\u76ee\u5f55\u4e2d\u6587\u4ef6  \nAUTORUN.BAT 43 2009-09-23 16:56  \n1 files 43 bytes #\u7edf\u8ba1\u603b\u5927\u5c0f  \n<\/pre>\n","protected":false},"excerpt":{"rendered":"

Linux mmove\u547d\u4ee4\u7528\u4e8e\u5728MS-DOS\u6587\u4ef6\u7cfb\u7edf\u4e2d\uff0c\u79fb\u52a8\u6587\u4ef6\u6216\u76ee\u5f55\uff0c\u6216\u66f4\u6539\u540d\u79f0\u3002 mmove\u4e3amtools […]<\/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\/3991"}],"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=3991"}],"version-history":[{"count":7,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3991\/revisions"}],"predecessor-version":[{"id":4048,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3991\/revisions\/4048"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=3991"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=3991"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=3991"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}