How can I recursively copy files of a specific pattern into a single flat folder on Windows?

前端 未结 6 1222
别跟我提以往
别跟我提以往 2020-12-04 09:47

I need to copy a set of DLL and PDB files from a set of folders recursively into another folder. I don\'t want to recreate the folder hierarchy in the target folder. I wan

6条回答
  •  情歌与酒
    2020-12-04 10:18

    I'm not aware of any command line tools that do this directly, but you could create a batch script to loop through sub folders, and copy the files you need.

    However you may end up with files with duplicate filenames if you place them all in the same folder.

提交回复
热议问题