Something wrecked a non-profit WordPress site I'm responsible for (I'm not a WP expert, just the most technical of all our volunteers). I was able to restore most of it from a backup, but the database seems to have forgotten most of the links to the media in the wp-content/uploads. All the media is still in the directories, but the database doesn't know it is there.
Obviously I could manually re-import all the hundreds of photos, but before I resort to that, I wanted to see if there is a technique or a plugin that would add everything already neatly sorted and stored in /uploads to the media database. Most of the plugins I've found are all about deleting orphans, but I need to add them to the db.