I have just created a tiddler that allows me to search and replace the name 
of my tags. It works with two steps: 

   1. It shows the tiddlers with the old "to-be-replaced" tags. With a 
   checkbox, I can give them the new tags.
   2. It shows the tiddlers with the old AND new tags. With a checkbox, I 
   can remove the old tags.

I guess it could be done with a single step, but I'm not a programmer so I 
don't know how to do that. (I've tried and failed!)
The title of the tiddler is "RenameTags". 
The old name is written in a field called: "search".
The new name is written in a field called: "replaceby".

This is the content of the tiddler:

|!Search tag: | {{!!search}} |
|!Replace by: | {{!!replaceby}} |

---

!First step
!!//Apply the new tag to the following tiddlers//
<$list filter="[!has[draft.of]tag{!!search}!tag{!!replaceby}sort[created]]">
<$checkbox tag={{RenameTags!!replaceby}}><$link to={{!!title}}><$view field=
"title"/></$link></$checkbox>
</$list>

!Second step
!!//Remove the old tag from the following tiddlers//
<$list filter="[!has[draft.of]tag{!!search}tag{!!replaceby}sort[created]]">
<$checkbox tag={{RenameTags!!search}}> ~~<$link to={{!!title}}><$view field=
"title"/></$link>~~</$checkbox>
</$list>




-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to