blob: 7fce0abb60d13d07abd8775f1dd8ef9dee49b84e [file]
#!/bin/bash
usage()
{
echo "processResults.sh <search dir>"
exit 1
}
root=`pwd`
echo $root
graphFile=graph.data
if [ $# != 1 ] ; then
usage
fi
mkdir -p results
for file in `find $1 -name $graphFile` ; do
dir=`dirname $file`
echo Processing : $dir
pushd $dir &> /dev/null
$root/process.sh $graphFile
echo Copying Images
cp work/*png $root/results/
popd &> /dev/null
echo Done
done