I have my BobWiki tiddlers folder synced across several computers, but 
don't have BobWiki (or nodejs version) installed on all of them, but you 
can quickly write a note for your TW instance with a bash script.

The minimal thing you need to include in a tid file (mytiddler.tid) is the 
line "title: mytiddler" at the beginning of the file.  

One problem with that however, is that if its created that way it won't 
appear on your recent tiddlers list as there's no "created:" or "modified:" 
date


Here's the tip that took me a while to figure out:

* you have to use a date format that is exactly 17 digits long, like 
this: 20181109012343614, and it has to be GMT as well, so here's how to do 
it on a linux system:

longdate=$(date -u "+%Y%m%d%H%M%5N")



i.e. longdate is the variable you use to later put into your tid file, like 
this:
sed -i "2icreated: ${longdate}" """$fullname"""
sed -i "2imodified: ${longdate}" """$fullname"""


the "sed -i 2i" part says insert this string as the second line of the file 
(I'd previously written "title: mytiddler" as the first line), and 
$fullname is the path to the file.  I use triple quotes because I usually 
include spaces in the tiddler names



I don't know how many other people would find this useful, but you never 
know...
- Dave



-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6b3658d1-bcca-4782-b30b-d94a78b28f03%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to