#!/bin/sh

# for MSYS to disable path conversion in command line argument
export MSYS2_ARG_CONV_EXCL="*"

printUsage()
{
    echo "Usage : $0 <blobfile>" 
}

if [ $# -lt 1 ]
then
    printUsage
    exit 1
fi

blobfile=$1
DBHOST=`hostname`

 ../../src/cgblow --server=$DBHOST --port=2200 --mode=blob --tableset=TS1 --user=lemke/lemke --blobop=get:[202,1]:$blobfile --table=blobtest --count=1 --protocol=serial