I thought I’d share my successes with using chatGTP to perform bulk edits in Tiddlywiki tiddlers and their content
- Central Street Archive
In this TW, I wanted to remove all tags that were street addresses. The job looked very daunting given over 2000 tiddlers, many have one or more tags as street addresses.
I exported all my tiddlers into a json file, uploaded this to ChatGPT and asked it to identify all tags that were a street address and return the result in a CSV file.It did this and I checked the file and it looked OK. So I asked it to do it again but this time remove the street address tags and return the edited file in JSON format.
It did that and I imported the edited JSON file back into my TW and checked the tiddlers listed in the CSV file with those in the edited TW. All seems OK.
Time Taken: 5 minutes.
- Gun Wiki
In this TW I am trying to identify the names of all guns, ships, forts and manufacturers and wikifi them by enclosing them in double square brackets and for gun names, suffix them with “|gtname” where gt name is the code for the gun type held in a match file (gun name,GT-254)
It did this smoothly.
Time Take: 5 minutes or so
So, all in all, a success saving me days of work.
bobj