Signed-off-by: Nico Schottelius <nico@manager.schottelius.org>
This commit is contained in:
Nico Schottelius 2017-07-19 17:15:41 +02:00
commit df2daf524d
641 changed files with 140617 additions and 12 deletions

21
fsdb-web/show-pages.fsdb Executable file
View file

@ -0,0 +1,21 @@
DB=/home/user/nico/DB/wddb/
HTMLDB=/home/user/nico/DB/wddb-html/
DATA_1=`echo $1 | sed 's/\.\.\///g'`
echo $DATA_1
CONTINENT=`echo $DATA_1 | awk -F"/" '{ print $1 }'`
#CONTINENT=`echo $DATA_1 | sed 's/^\(.*\)\/.*/\1/g'`
echo $CONTINENT
DATADIR=`echo $DATA_1 | sed 's/\(.*\)\/\(.*\)/\1/g'`
HTML=`echo $DATA_1 | sed 's/\(.*\)\/\(.*\)/\2/g'`
echo $DATADIR
echo $HTML
if [ ! -d $DB/$CONTINENT ]; then
show_error
fi
grep