开发者

Copy only latest files in Command Prompt

I have two directories with the same files. On the source directory, I always make updates. Now I just want to copy the updated files from the source directory to the destination directory. So it would be like updating files instead of copying all files.

I had also tried on the "Batch script to copy newest file". Though it worked well but it only copies the newest files.

Is there something that c开发者_运维百科ould compare the dates of the files from the directories?


Check out RoboCopy, it has switches for filtering files based on dates


If you want to copy the files or images from one network to another network then you can use the command robocopy.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜