Using TiddlyWiki on Node.JS, one can set the file system path using $:/config/FileSystemPaths
tiddler. For example (from doc)
[is[system]!has[draft.of]removeprefix[$:/]addprefix[_system/]]
[is[draft]search-replace:g:regexp[/|\\],[_]addprefix[drafts/]]
[tag[task]addprefix[mytasks/]]
[!tag[externalnote]addprefix[wiki/]]
My question is:
I keep some tiddlers in a field: diary
of Jornal tiddlers. I am looking for a filter to store those tiddlers under diary subfolder on my file system. I tried below with no success.
[all[]contains:diary<currentTiddler>addprefix[diary/]]
What is the working filter here?
Some references
Example file structure
Assume a tiddler called “16th August 2024” and has a diary field with: One Two [[Thirty Four]]
, then file system path filter shall save tiddlers as below file structure.
tiddlywiki.info
tiddlers/
├─ diary/
├─ one.tid
├─ two.tid
├─ thirty_four.tid
├─16th_august_2024.tid