BGP-Ranking/bgpranking/config/modules/jq_all_the_things.sh

12 lines
126 B
Bash
Raw Normal View History

#!/bin/bash
set -e
set -x
# Seeds sponge, from moreutils
for dir in ./*.json
do
cat ${dir} | jq . | sponge ${dir}
done