Skip to content

Instantly share code, notes, and snippets.

@wildintellect
Last active August 29, 2015 14:19
Show Gist options
  • Save wildintellect/536b95baf9f82e3fc07f to your computer and use it in GitHub Desktop.
Save wildintellect/536b95baf9f82e3fc07f to your computer and use it in GitHub Desktop.
Bash Magic
# Make a list of all fonts in the layout mapserver wants for a font file
find /usr/share/fonts -name "*.ttf" | xargs -i sh -c 'echo $(basename {}) {}' > fonts.list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment