Hello!
I hope there is no conflict for what I am going to comment... if so, I ask you to tell me and an administrator to delete the comment.
I use the "Similarity" program to clean my library of duplicate files, leaving only those that maintain the best quality, it seems to me that there is a free version, it may be what you need.