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:
parent
5394fc4ee1
commit
6ada78daa2
13
ginsu.sh
Executable file
13
ginsu.sh
Executable 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
|
Loading…
Reference in New Issue
Block a user