Here’s a Windows command line that can update a single file wiki in place. Note you need to have the latest tiddlywiki
command installed via nodejs, and updated to the latest version.
As usual, backup your wiki before performing this operation.
> tiddlywiki --load "mywiki.html" --output . --render "$:/core/save/all" "mywiki.html" "text/plain"
Of course, you can turn this into a batch file easily enough:
copy "%1" "%1"-%RANDOM%
tiddlywiki --load "%1" --output . --render "$:/core/save/all" "%1" "text/plain"
And using the batch file (named twup.cmd
)
> twup mywiki.html
That’s it. I prefer this to using the online upgrade which feels clumsy to me.