PS. Apologies for my over exuberance... I'd spent too much time with so 
little success... so your quick response and solution was deeply 
appreciated!

On Saturday, 4 July 2020 13:39:10 UTC+10, Eric Shulman wrote:
>
> On Friday, July 3, 2020 at 7:46:43 PM UTC-7, Sara wrote:
>>
>> Something I want to do but cannot find anywhere, is to start a new 
>> tiddlywiki with the same setup as my old. I really like the theme, plugins 
>> and what I have set up works just right for me. If I want to start a new TW 
>> and keep all those setting (some of which are tags) how do I get rid of all 
>> the tiddlers in the old one?
>>
>
> 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)
> InsideTiddlyWiki - http://TiddlyTools.com/InsideTW
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/930abb67-6deb-475f-a273-39bebd8d7778o%40googlegroups.com.

Reply via email to