Request Applescript to copy only one file type from 2 folders, into a 3rd folder Hi I've been trying to find utilities that will do this but I am guessing applescript/Automator on Catalina mac would work too.

Basically I have 2 folders with all kinds of books (.pdf, .mobi and .epub) and subfolders too. I want to only copy files of extension epub type in these 2 folders, into a 3rd folder.

So by running the script the third folder would have only unique EPUB files from the former two folders.

Can anyone please advise me how to write this up in Automator? Thanks!
There are actually many different ways to do it in Automator! Here is one set of actions you could use:


Ask For Finder Items 
Get Folder Contents
Filter Finder Items 
Copy Finder Items