Removal of interfaces used by the packetcable-consumer bundle that has neither been...
[packetcable.git] / packetcable-client / make_json.sh
1 #!/bin/sh 
2
3 files=( *.xml )
4 for file in "${files[@]}"
5 do
6   filename="${file##*/}"
7   filenameWithoutExtension="${filename%.*}"
8   echo "converting $filenameWithoutExtension ..."
9   ./xml2json  -t xml2json $file --strip_text --strip_namespace --pretty -o "$filenameWithoutExtension".json
10 done