Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

The best way (if the duplicated images are the ones attached) is to order by date, and bulk delete all the older ones.

share|improve this answer
    
I'm not sure I understand. Could you expand on your answer, please? Do I do this via the wordpress admin or creating a loop? –  UzumakiDev Mar 8 at 17:39
    
Go to the media library, order the files by date, and delete all them old ones. –  Sormano Mar 8 at 17:51
    
They all have the same date as they were all "edited" at the same time. There are 1000+ images. –  UzumakiDev Mar 8 at 18:11

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.