Created
December 1, 2015 05:04
-
-
Save Stanback/b5130a459c3c5cd1193e to your computer and use it in GitHub Desktop.
Convert all emblem files to handlebars format (emblem2hbs.sh)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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