You can do something like this. 

!!!This removes a tag from every tiddler that has it
> Be careful. There is no undo.
> <table>
> <tr>
> <td>
> remove
> </td>
> <td>
> <$select tiddler=<<currentTiddler>> field="tagtoremove" default='notset'>
> <$list filter='[all[tiddlers]tags[]sort[]]'>
> <option value=<<currentTiddler>> field="tagtoremove"><$view 
> field='title'/></option>
> </$list>
> </$select>
> </td>
> <td>
>
> <$set name="oldTag" value={{!!tagtoremove}}>
> <$button>
> <$list filter="[all[shadows+tiddlers]tag{!!tagtoremove}]">
> <$fieldmangler>
> <$action-sendmessage $message="tm-remove-tag" $param=<<oldTag>>/>
> </$fieldmangler>
> </$list>
> Click me!
> </$button>
> </$set>
>
> </td>
> </tr>
> <tr>
> <td>
> </td>
> <td>
> <$list filter="[all[shadows+tiddlers]tag{!!tagtoremove}]">
> <$link>{{!!title}}</$link>
> </$list>
> </td>
> <td>
> </td>
> </tr>
> </table>


I just re-purposed this from a similar widget I have that swaps one tag for 
another. I tested this version just now and it seems to work but please 
back-up your wiki before you use it.

Regards,
Richard

On Sunday, April 30, 2017 at 12:38:15 AM UTC+10, Jeff Vance wrote:
>
> Not sure if this is possible:  I have about 100 tiddlers that have a 
> certain tag.  I decided I don't want that tag to exist anymore, but keep 
> all those tiddlers since they are also tagged by other things.  Is there a 
> way to remove the tag from every tiddler in one operation?  I don't want to 
> manually edit all of them!
>
>
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/af03720a-fb3f-4682-9c36-869d0b95adaa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to