I think this is one of the strengths of plain text, there are already plenty of tools that handle this really well without needing to bake the complexity into Obsidian. sed and Sublime Text come to mind first.

+1 for this feature.

Is there any specific reason why this fundamental feature was not implemented from the beginning ?

3 Likes

+1
Considering the dynamic nature of your notes and links this will be a really useful feature

Appreciate your saying about “not owning but to make them available to other tools”, think that’s the core value of Obsidian

1 Like

+100500. Of course I can always open the folder in VS Code and replace there, but it would be way nicer to do it in Obsidian.

1 Like

+1000

Any updates on this?

1 Like

My Method to Change an Obsidian link in all notes

(MOC=Map of Content, or index of notes)
Let’s suppose I used MOC Alpha to refer to in many other notes. But now, I want to change these links to another existing note, MOC Beta. I make the following:

  • I rename MOC Beta temporally (e. g. to MOC Beta X).
  • I Rename MOC Alpha to MOC Beta. So all referring links will be changed.
  • I move the content of the (actual) MOC Beta, or make a copy of it with other name, as desired.
  • I delete the actual MOC Beta file (the ex MOC Alpha).
  • I rename MOC Beta X to MOC Beta again. All notes that referred to MOC Alpha before, are pointing to MOC Beta now.
  • Done. (I may edit the content of the new MOC Beta. I can also reinstall MOC Alpha from the copy if necessary.)
3 Likes

Any news on this feature ? Thanks !

2 Likes

Along these same lines, it’d be great to be able to run a search and apply the find/replace for only the notes in those search results.

4 Likes

+1

I’m a writer, note a coder. This must be a simple operation. I spent hours today trying to find a solution. Tried to learn sed, VS Code, echo… But it should be built into Obsidian. To write a tag should be a simple operation: you grab the files and drop in the tag.

2 Likes

Any news on this fundamental feature ?

Current workaround : use bulk find&replace of Sublime Text, VSCode, etc…

1 Like

It’s not this.

…ping +1 please.

+1 Would also be useful in changing fieldnames for Dataview globally. I was able to do it with VS Code, however.

+1, please!

+1, Please.

There is another possibility I don’t think I saw mentioned. For those of you who know and love vim, all you need to do is put the obsidian editor into vim mode and you have a complete search and search and replace mode ready and waiting for you. No plugins or set up needed

I’ve been searching around the forum to find a solution for changing all the tags in a vault into backlinks. This thread seems close enough.
I have imported my notes from evernote, I have around hundred tags to change into backlinks because I want to change the way I work with tags.

I’m on Windows, I could use a tool like Notepad++, but I don’t know how to write a regex for that.
Anyone have a clue? Regex or any other solution that would not be changing tag by tag?

Thanks

+1. I can see using this to replace the file path of linked external media if the folder it’s kept in has to get moved (i.e. if I were to move that folder of photos, etc. from the desktop to an external hard drive)

+1, please :upside_down_face: