Help Request - Compare Images using EXIF Date

Hello Scripters,

I am trying to identify duplicate images. I understand the basics of comparing one file to another using something exiftool. However, I am having trouble taking this concept to next level. e.g. searching within folders, looping, etc.

Example:
Folder 1: 1000’s of images from the whole shoot.
Folder 2, 3, 4, etc: Groups of 20-30 images that have been exported and renamed from the original set in Folder 1.

Goal:
Select reference folder.
Select duplicates folder(s).
Label matches in reference folder.

Any advice to help point me in the right direction would be much appreciated. Many thx.