• I have a site with tens of thousands of images uploaded.
    What’s the easiest way to clean them out?

    You can’t use the bulk actions in the media library ui because you can only show 999 images at a time (I have 30k images) and even then, it hangs up.

    I have ftp access so I can delete the images files, but I’m concerned with cleaning up the database.
    I don’t have ssh access so I can’t use wp-cli here.
    I have phpmyadmin access so I could use sql to drop every record in the media table but that seems like overkill and I’d like to avoid it.

    Surprisingly, I can’t find a good plugin that deletes all media automatically.

    • This topic was modified 7 years, 5 months ago by gpspake.
    • This topic was modified 7 years, 5 months ago by gpspake.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Bulk delete all media uploads- thousands of images’ is closed to new replies.