Renaming all the notes by script

I have named my notes with a hierarchical naming scheme, things like

  • bio+taxonomy+tree
  • organizer+todo+shopping-list
    etc.

I’d like to write a script that goes through all the notes and renames them so the separator is consistent (change all separators to _ for readability).

I could do it on the commandline but that would break all the links. So I need to do this inside Obsidian. It’s not enough for a plugin, I figure I’d just run it in the developer console. After some testing and backing up :slight_smile:
Has anyone done something like this?

Where do I best look at the obsidian API docs?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.