Mass search & replace

I used to use [[documentation]] for all of my notes on content that I was reading/watching. Now, I realize that #documentation would be much more appropriate. I’d like to search and replace, but have 200+ notes with [[documentation]] and there seems to be no bulk search & replace, only on a per-file basis.

34 Likes

+1, I had the same situation with links like [[work]] that would be better as tags. And if you need an acute solution, I posted hope to use atom here: Find and replace links across all files in a vault

3 Likes

I agree. General find and replace would be very handy, but would require careful thought to make the results transparent and avoid unexpected changes. Updating of full tag text string or link text string would give much more predictable results - less so for regular text strings. It could take care of the tag renaming request I saw somewhere, although in a more round about way (I support a mechanism to rename tags).

1 Like

I think this is a key feature that seems core to a text editor. I’m going to move this to the Feature Requests category.

I think there are plenty of ways to accomplish this, and users could backup their vault prior if they were worried about unintended effects.

6 Likes

@sam.baron: good initiative.

Agree!

Find an alternative while waiting for the feature :

1 Like

Totally agree. Subtree-wise search and replace is really a critical feature that’s missing. Hope it will be implemented soon!

2 Likes

Thousand upvotes.

I come from CRM, where, basically, you manage clients, calls, contacts, contracts, all kinds of labelled and tagged information. Imagine selling a CRM without the ability to make a quick change on the status or label of a 50 or 500-item found set of contacts. You’d never be able to.

I know O is not a CRM, but you know what, I’m going to make it one, because the rest of it is exactly what I need.

But something as rudimentary as changing the tags on 10 found entries, for example-- it’s astounding that I can’t do that, really. For an app that has so many of the obvious bases covered.

Yes, I know about the 2-3 workarounds, but they are just that.

And-- extending this request to also taking a found set after a query, and right clicking on that found set (which you can’t do) like you can in the obsidian file manager, and choosing “move selected items to folder…” or something like that.

That to me is just as much “mass search and replace” – you’re looking for a certain condition (search tag, keywords, regex, etc.), finding that set, and then ACTING on that set (swap tags, delete tags, replace whole phrases, or even move the very file to a slightly different relative folder location)

Why have the ability to create and use folders, when you can only act on items piecemeal? Why have the wonderful search capability we have, without then being able to do something with the found set at all!? (I don’t count merely copying a text list or outline as something)

I mean, it’s veritably barbaric (You have to say that like Mr Howell on Gilligan’s Island)!

Lord, I apologize. :pray: :man_shrugging: :sweat:

It will be nice to also have an option for Regular Expression (regexp) Search and Replace.
It will be useful in a knowledge badge project.