#!/bin/bash
# Run the translate over all inputfiles in src/test/resources/sitelog and output to /tmp/geodesyml/runall

INPUTDIR=src/test/resources/sitelog
OUTPUTDIR=/tmp/geodesyml/runall

if [ ! -d $OUTPUTDIR ]; then
    mkdir -p $OUTPUTDIR
fi

#for i in $INPUTDIR/*
#do
#    echo $i
    
mvn exec:java -Dexec.mainClass="au.gov.ga.geodesy.support.commandline.GeodesyMLCommandLine" -Dexec.args="-indir $INPUTDIR -outdir $OUTPUTDIR"
#    exit 1
#done

#!/bin/bash
# Run the translate over all inputfiles in src/test/resources/sitelog and output to /tmp/geodesyml/runall

INPUTDIR=src/test/resources/sitelog
OUTPUTDIR=src/test/resources/sitelog/sitelogtoGeodesyML
OUTPUTDIRTMP=/tmp/geodesyml/runall

if [ ! -d $OUTPUTDIR ]; then
    mkdir -p $OUTPUTDIR
fi

mvn exec:java -Dexec.mainClass="au.gov.ga.geodesy.support.commandline.GeodesyMLCommandLine" -Dexec.args="-indir $INPUTDIR -outdir $OUTPUTDIR"

Change default output location to resource dir and commit
Change default output location to resource dir and commit

* Commit of translated files in separate commit
