]> git.plutz.net Git - serve0/blob - index2post.sh
Bugfix: select all 10 filter boxes
[serve0] / index2post.sh
1 #!/bin/sh
2
3 REQUEST_METHOD=manual
4 . "${_EXEC:-${0%/*}}/cgilite/cgilite.sh"
5 . "${_EXEC}/cgilite/storage.sh"
6
7 find "${_DATA}" -path '*/.index/meta' -exec cat '{}' + \
8 | while read l w h t c n; do
9   printf '?op=add&select=%s' "/$(URL "$(UNSTRING "${n%$CR}")"*)"
10   printf "&tag=%s" $(printf %s "${t#tags=}" |tr , \  )
11   printf \\n
12 done