As JSWolf said, I would do a filesystem
search for the ebook extensions I wanted.
And exclude the calibre library from being searched!
Then calibre would handle resolving duplicates (or you could use the Find Duplicates plugin for enhanced processing).