#!/usr/bin/env bash set -e CONFIGS=$(ls -A *.yaml) for CONFIG in $CONFIGS; do butane -p $CONFIG > ${CONFIG%.*}.json done