NO SAME WISH AS ME

This commit is contained in:
fred 2022-10-24 17:30:12 +02:00
parent 34836a198b
commit 0a48a5d83c
1 changed files with 2 additions and 1 deletions

View File

@ -74,7 +74,8 @@ do
echo "TRY EXPORT [tag[G1$WISHNAME]] FROM $FINDEX"
tiddlywiki --load $FRIENDTW \
--output ~/.zen/tmp/$WISHNAME --render '.' 'g1wishtiddlers.json' 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' '[tag[G1'$WISHNAME']]'
[[ ! -s ~/.zen/tmp/$WISHNAME/g1wishtiddlers.json ]] && echo "NO $WISHNAME - CONTINUE" && continue
[[ ! -s ~/.zen/tmp/$WISHNAME/g1wishtiddlers.json ]] && echo "NO $WISHNAME - CONTINUE -" && continue
[[ $(cat ~/.zen/tmp/$WISHNAME/g1wishtiddlers.json) == "[]" ]] && echo "NO $WISHNAME - CONTINUE -" && continue
echo "## WISHES FOUND ;) MIAM "
## TODO ADD EXTRA TAG ?