Because Obsidian use plain text files you can use any software to bulk change data in the files. I’ve used Atom - free editor:
and Find in project function to perform similar to your tasks
I have got now ~1800 files and ~100 tags. This tool helped me significantly.