Skip to content

Instantly share code, notes, and snippets.

@Stanback
Created December 1, 2015 05:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Stanback/b5130a459c3c5cd1193e to your computer and use it in GitHub Desktop.
Save Stanback/b5130a459c3c5cd1193e to your computer and use it in GitHub Desktop.
Convert all emblem files to handlebars format (emblem2hbs.sh)
#!/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 {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment