Add a batch file for splitting a TW file into tiddlers

print-window-tiddler
Jeremy Ruston 2013-05-25 16:41:25 +01:00
rodzic 5394fc4ee1
commit 6ada78daa2
1 zmienionych plików z 13 dodań i 0 usunięć

13
ginsu.sh 100755
Wyświetl plik

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