recursive move command on windows

前端 未结 6 1536
暖寄归人
暖寄归人 2021-02-14 15:25

I need to do a .bat copy of a .sh, I don\'t know much Windows cmd. On Linux I could do

mv ...

or

rsync -a SOURCE/ DEST/ --remov         


        
6条回答
  •  无人及你
    2021-02-14 15:53

    I know this is an old thread, but since it does not have a correct answer I figured I'd tie it off.

    The old DOS command to accomplish this is:

       move  
    

    So in the OP question:

       move C:\sourceFolder c:\destinationFolder
    

    The folder and everything in the folder (including sub-directories) will be moved.

提交回复
热议问题