The Zim pages are just text so you can do this outside ofZim with a perl 
one-liner.

I would do something like - I use Linux:

cd to root of notebook

perl -p -i -e 's/oldstring/newstring/g' $(find ./ -name *.txt)


On 09/18/2017 11:24 PM, Laecy wrote:
Hello all!

I'm wondering if anyone knows how to do a Find and Replace to create links 
throughout a document.

Right now, the closest I can figure is:

- Cntrl+H example

- [[Index:Example]] -> Replace All

- Cntrl+R

This inserts links to the Example entry in my Index, but it shows the full 
"Index:Example" text within the document. Running another Replace to change the text to 
"example" changes the link too - it becomes a link to example(page) at the same level as 
the document instead of referring back to the Index.

So, currently I'm going by this:

- Cntrl+Shft+F "example"

- Clicking on each page

- Cntrl+F "example"

- Cntrl+L "Index:Example"
-- Alt+N repeat for each appearance

With thousands of pages in my wiki and thousands of indexed words, this is 
prohibitively time consuming.

Any advice?

Thanks much!

-Laecy


_______________________________________________
Mailing list: https://launchpad.net/~zim-wiki
Post to     : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp

_______________________________________________
Mailing list: https://launchpad.net/~zim-wiki
Post to     : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp

Reply via email to