Skip to content

Instantly share code, notes, and snippets.

@falcondai
Last active February 5, 2016 19:36
Show Gist options
  • Save falcondai/6265997 to your computer and use it in GitHub Desktop.
Save falcondai/6265997 to your computer and use it in GitHub Desktop.
install all fonts files under a directory recursively (for Ubuntu).
#!/bin/bash
echo installing fonts at $PWD to ~/.fonts/
find . -name '*.ttf' -exec cp \{\} ~/.fonts/ \;
find . -name '*.otf' -exec cp \{\} ~/.fonts/ \;
echo finished installing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment