I recently used an image importer that has duplicated all the images. They are attached to the right posts and the posts are fine (not duplicated).
How do I run through my media library deleting duplicate images?
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.
Sign up to join this communityI know its too late for this answer, but can help others, you can use Media Deduper plugin to index and find duplicated image , it is also good enough to link the post to existing image.
The best way (if the duplicated images are the ones attached) is to order by date, and bulk delete all the older ones.