media_on_demand
No security coverage
This module is designed to assist with migration of media, particularly when migrating HTML-like content with references to media.
The basic premise is being able to turn something like this:
<img src="puppy.jpg alt="...">
into this:
<drupal-media uuid="4bff6314-3bb8-4a4c-8049-20afdac121ef">
The mechanics of copying files, creating media entities and avoiding duplicates all happens behind the scenes.