#!/bin/sh
#
# Export reponame.header|css|footer|th1-setup|tcl-setup
#

for DB in ~/fossil.d/*.fossil
do 
  REPO=`basename $DB .fossil`
  for WHAT in css header footer th1-setup tcl-setup
  do
    echo "select value from config where name='$WHAT';" | fossil sqlite -R $DB > $REPO.$WHAT
  done
done

