equivalent of rm and mv in windows .cmd

后端 未结 3 1490
有刺的猬
有刺的猬 2020-12-23 15:28

I have the following in a shell script,I want to convert the following lines into a windows cmd file..can anyone provide inputs on what is the equivalent for \"rm\" and \"mv

3条回答
  •  自闭症患者
    2020-12-23 16:21

    move and del ARE certainly the equivalents, but from a functionality standpoint they are woefully NOT equivalent. For example, you can't move both files AND folders (in a wildcard scenario) with the move command. And the same thing applies with del.

    The preferred solution in my view is to use Win32 ports of the Linux tools, the best collection of which I have found being here.

    mv and rm are in the CoreUtils package and they work wonderfully!

提交回复
热议问题