Alfix is an open-source web-based viewer for the eLearn workshop manuals for various Alfa Romeo, Lancia and Fiat cars.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

11 lines
249 B

#!/bin/bash
pname=alfix
lang_id=2
cdpath="$1"
mdb="${cdpath}/database/elearn_${lang_id}.dat"
for table in $(mdb-tables "${mdb}"); do
mdb-export -H -d'|' "${mdb}" "${table}" > "csv/${pname}-${table}.csv"
dos2unix "csv/${pname}-${table}.csv"
done