mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-01-28 07:21:05 -08:00
Add a batch file for splitting a TW file into tiddlers
This commit is contained in:
parent
5394fc4ee1
commit
6ada78daa2
1 changed files with 13 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue