TiddlyWiki5/ginsu.sh

14 wiersze
261 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 \
--savetiddlers [!is[system]] $:/core/templates/tid-tiddler tmp/ginsu text/plain .tid \
|| exit 1