blob: 5c336fff0dc32a5e87c4b7c328ee2f22208c5367 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/bash
CONFIG=$1
DIR=$2
PREV_DATE=""
cat $CONFIG |
jq -r '.[] | .date' |
while read DATE
do
python scripts/datafiles-generate.py $DATE $PREV_DATE > "$DIR/$DATE.json"
PREV_DATE=$DATE
done
|