zadam / trilium

Build your personal knowledge base with Trilium Notes
GNU Affero General Public License v3.0
26.74k stars 1.86k forks source link

(search and replace) #3426

Open ZLYong opened 1 year ago

ZLYong commented 1 year ago

Describe feature

At present, I find that Trilium's search function is very powerful, but there is no replacement-related function. I suggest the author consider adding replacement functionality. Thanks to the authors for their dedication and excellent work.

Additional Information

No response

meichthys commented 1 year ago

A find/replace across notes would indeed be very powerful 👍

benkaiser commented 10 months ago

For a workaround right now, if you are even somewhat tech-savvy (or you can leverage ChatGPT), you can use the SQL console to do this, for example:

UPDATE blobs
SET content = REPLACE(content, 'sometext', 'new text')
WHERE content LIKE '%sometext%';