How to delete all files in one folder that are the same as in another folder
Gemini will let you do this.

Open the app, go to Preferences → Auto Select and add the path of the folder that you want to keep the files to the Never Select list.



Then, add the folders to the scan list and press Scan. Once it's complete, you can press Auto Select to automatically mark the duplicates, then delete them.