If you can write a *filter* that lists all the tiddlers you want to delete,
then you can use the $:/AdvancedSearch filter tab to list those tiddlers
and then press the delete ("trash can") button. You will be asked to
confirm before the tiddlers are deleted.
However... since you are new to TW, it might be difficult for you to
compose the needed filter syntax to get the list you want. It could
also be difficult (if not impossible) to compose a suitable filter if
there isn't a consistent pattern that can be used to recognize which
tiddlers you want to select.
Instead, the following wiki syntax can be used:
<$select tiddler="$:/temp/selected" multiple="yes" size="10">
<$list filter="[all[tiddlers]!prefix[$:/]]">
<option value=<<currentTiddler>>><$text text=<<currentTiddler>>/></option>
</$list>
</$select>
!!There are <$count filter={{$:/temp/selected}}/> selected tiddlers: <$button> delete
<$action-deletetiddler $filter={{$:/temp/selected}}/>
<$action-deletetiddler $tiddler="$:/temp/selected"/>
</$button>
<ol><$list filter={{$:/temp/selected}}><li><$link /></li></$list></ol>
Just copy/paste the above into a tiddler (e.g., "DeleteSelectedTiddlers").
The first part of the above code generates a <$select> (listbox) that shows all
the tiddlers in your document (except for the ones starting with "$:/", which are
not usually "content" tiddlers).
This listbox allows *multiple selections*:
* click an item to choose one tiddler
* shift-click to choose a range of tiddlers (from the last click to the current one)
* ctrl-click toggles selection of the tiddler you click on
The second part of the code shows the total number of tiddlers you have selected,
followed by a "delete" button, and a numbered list of the selected tiddlers. Each item
in the list is a link to that tiddler, so you can easily click on the link to open the tiddler
if you need to review/confirm that it really should be deleted.
Start by MAKING A COPY of the TiddlyWiki file you want to duplicate. If you are using
the "default download saver", then you can use the "save changes" button in TW to
create a new copy of the existing TiddlyWiki file. If you are using some other saver
that defaults to overwriting the current TiddlyWiki, then use your computer's normal
method for making a duplicate of an existing file.
Then, open the duplicated file and view the "DeleteSelectedTiddlers" tiddler. Use
the listbox as described above to select all the tiddlers you want to delete. Once you
are satisfied with your selection(s), just press the "delete" button, and those
tiddlers will be removed from your document.
Note that this action cannot be "undone" so be sure you have the right tiddlers selected
before you press the button! Of course, if you make a mistake and delete something
you didn't mean to, you can always start over, as long as you haven't saved the current
TiddlyWiki!
If you have any questions about the above instructions, please ask!
enjoy,
-e
Eric Shulman
TiddlyTools.com: "Small Tools for Big Ideas!" (tm)