recursive move command on windows

前端 未结 6 1549
暖寄归人
暖寄归人 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 16:07

    Robocopy did wonders for me:

     robocopy c:\cache c:\cache-2012 ?????-2012*.hash /S /MOV
    

    I used it to move all files with certain mask out of c:\cache and its numerous subdirectories.

提交回复
热议问题