1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 03:57:21 +00:00

Add a batch file for splitting a TW file into tiddlers

This commit is contained in:
Jeremy Ruston 2013-05-25 16:41:25 +01:00
parent 5394fc4ee1
commit 6ada78daa2

13
ginsu.sh Executable file
View File

@ -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