#!/bin/sh for x in packs/*.json; do cat "$x" | jq -c > "${x%.json}.db" done