Added sample mock CMTS configuration.
[packetcable.git] / packetcable-client / make_xml.sh
1 #!/bin/sh 
2
3 files=( *.json )
4 for file in "${files[@]}"
5 do
6   filename="${file##*/}"
7   filenameWithoutExtension="${filename%.*}"
8   echo "converting $filenameWithoutExtension ..."
9   ./xml2json  -t json2xml $file --strip_text --strip_namespace --pretty -o "$filenameWithoutExtension".xml
10 done