Skip to content
Permalink
main
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
executable file 10 lines (10 sloc) 422 Bytes
#!/bin/bash
origin=https://raw.githubusercontent.com/one-data-model/playground/master
git clone https://github.com/one-data-model/playground.git
rm -fR playground/tm
mkdir -p output/tm
cd playground
for filename in sdfObject/*.sdf.json; do
echo "Converting $filename ..."
sdf-wot-converter --from-sdf "$filename" --to-tm "../output/tm/$(basename "$filename" .sdf.json).tm.json" --origin-url $origin/$filename
done