#!/bin/bash set -euo pipefail shopt -s nullglob export LANG=C.UTF-8 logerr() { echo "$(tput setaf 1)ERROR: $1$(tput sgr0)" 1>&2 } usage() { cat <