#!/bin/bash #usage: arff2data echo for arffFile in *.arff do dataFile=${arffFile/".arff"/".data"} echo $arffFile -> $dataFile darff $arffFile > $dataFile done