diff --git a/ginsu.sh b/ginsu.sh new file mode 100755 index 000000000..6cf457811 --- /dev/null +++ b/ginsu.sh @@ -0,0 +1,13 @@ +#!/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