elcc / util /yml2json.sh
bboldt's picture
Add system-level metadata to Croissant
e0cd172
raw
history blame
137 Bytes
#!/usr/bin/env bash
shopt -s globstar
for x in systems/*/metadata.yml; do
cat $x | yq --indent 2 > ${x%metadata.yml}system.json
done