1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-24 02:27:19 +00:00
TiddlyWiki5/ginsu.sh
Jeremy Ruston 05ac094d2e Rename the savetiddler/savetiddlers commands to rendertiddler/rendertiddlers
'Render' reflects what the commands actually do, and frees up 'save'
for actually saving the raw content of a tiddler.
2013-08-04 22:26:45 +01:00

15 lines
347 B
Bash
Executable File

#!/bin/bash
# Split the tiddlers out of a TiddlyWiki file
mkdir -p tmp
mkdir -p tmp/ginsu
node ./tiddlywiki.js \
./editions/empty \
--verbose \
--load $1 \
--rendertiddler $:/core/templates/split-recipe tmp/ginsu/split.recipe text/plain \
--rendertiddlers [!is[system]] $:/core/templates/tid-tiddler tmp/ginsu text/plain .tid \
|| exit 1