#!/bin/bash # Install emblem2hbs cli npm -g install emblem2hbs # Convert all emblem files to handlebars for f in $(ls -1 {,**/}*.emblem); do; emblem2hbs $f; done; # Optionally delete original emblem files find . -name "*.emblem" -exec rm {} \;