#/bin/sh 
cd hdt-cpp/hdt-lib
for i in `find ../../data -name "*.gz" ` ; do
	echo $i
	./tools/rdf2hdt -p $i $i.hdt
	#mvn exec:java -Dexec.mainClass="org.rdfhdt.hdt.tools.RDF2HDT" -Dexec.args="$i $i.hdt "
done

#cd hdt-java/hdt-java-package
#for i in `ls ../../../core-i18n` ; do
#       mvn exec:java -Dexec.mainClass="org.rdfhdt.hdt.tools.RDF2HDT" -Dexec.args="-rdftype ntriples ../../../core-i18n/$i/core.gz ../../../core-i18n/$i/core.hdt"
#done
