Rename and relink to add prefix to existing links
An AppleScript for InDesign CC 2019 (for Mac only). Written by S Hopkins. The source is here.
Before — type in a prefix
After — the prefix was added to all links
Click here to download the script. See also Add prefix to links script