summaryrefslogtreecommitdiff
path: root/bin/rankings-tables-build.sh
blob: 6dee62a6e3c8681593fdf254d12b8746149fe553 (plain)
1
2
3
4
5
6
#!/bin/bash
CONFIG=$1
DIR=$2

cat $CONFIG |
    jq -r '.[] | [.date, .url, .index, .menu_age // "old", .name, .links // []] | flatten | @sh' | xargs -L 1 bin/rankings-tables-generate.sh $DIR