recursive move command on windows

前端 未结 6 1538
暖寄归人
暖寄归人 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:08

    For recursive move in windows, a simple move command is ok. Here is the example, I think it would be helpful.

    move D:\Dbbackup\*.dmp* D:\Dbbackup\year\month\
    

    Where .dmp is the extension of the file that would be moved to the location recursive folder Dbbackup , then year, then month.

提交回复
热议问题