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
folder1hasone.jpgandtwo.jpgandone.movfolder2hastwo2.jpgand two2.movfolder3hasxxx.jpgandyyy.mov
wanted result
folder jpgfiles containing one.jpg two.jpg two2.jpg xxx.jpg
folder movfiles containing one.mov two2.mov yyy.mov
Thanks in advance
folder
jpgfilescontainingone.jpgtwo.jpgtwo2.jpgxxx.jpgfolder
movfilescontainingone.movtwo2.movyyy.mov