example I have 100 folders each with JPG and MOV files in them I want to copy all the jpg into one folder and all the mov files into another example - `folder1` has `one.jpg` and `two.jpg` and `one.mov` - `folder2` has `two2.jpg` and two2.mov - `folder3` has `xxx.jpg` and `yyy.mov` wanted result - folder `jpgfiles` containing `one.jpg` `two.jpg` `two2.jpg` `xxx.jpg` - folder `movfiles` containing `one.mov` `two2.mov` `yyy.mov`