Thanks Joshua, this worked great! For anyone else needing this, I switched off timestamps, then created a tiddler containing the following button:
<$button> Do The Thing <$list filter="[is[tiddler]]"> <$action-deletefield afieldthatdoesntexist="" /> </$list> </$button> Clicked the button, then turned timestamps back on, and all the changes showed up in Git as expected. (For whatever reason the $action-deletefield form with $field="afieldthatdoesntexist" did not do anything when I clicked the button. Not sure what was up with that.) On Monday, June 14, 2021 at 6:42:04 PM UTC-5 [email protected] wrote: > Hi Soren, > > I wrote most of the recent Node file-handling logic. > > I found the easiest way to "touch" a batch of tiddlers in order to force a > re-save is to $action-deletefield a NON-EXISTANT field from within a $list > (triggered by a $button). > > This forces the tw core to re-save a tiddler over the existing one (even > tho its the same) & this triggers the Sync mechanism. > > (You can also use this to "unpack" shadow tiddlers from within plugins, > forcing a "normal" tiddler that is the same as the shadow-copy.) > > Best, > Joshua F > > On Monday, June 14, 2021 at 3:53:42 PM UTC-7 Soren Bjornstad wrote: > >> Some time ago I tweaked the $:/config/FileSystemPaths in one of my wikis >> to place tiddlers into some different folders based on tags, as described >> here <https://tiddlywiki.com/#Customising%20Tiddler%20File%20Naming>. >> However, I haven't modified all of these tiddlers yet, so months later some >> of them are still in the default location, making the division not all that >> helpful since it's difficult to know which location each item is in. >> >> Is there a way I can get TiddlyWiki to re-save all my tiddlers into the >> location they would be placed today, in bulk (ideally without updating >> their timestamps)? I could rig up a shell script, but that feels like it >> could be a lot of work. >> > -- 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/ed62406c-5412-4ec3-b05a-878d76a236c2n%40googlegroups.com.

