Duplicate reAssign media

Backstory: when I set up my site I uploaded around 300 images into the categories that usrrs had previously uploaded to the old version of our site on Active Forums. I would like to be able to reassign those items to them without mucking around in the db myself.