Skip to content

Instantly share code, notes, and snippets.

@daveaspinall
Last active July 17, 2018 09:54
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daveaspinall/c915406673d8e4fc4c0e to your computer and use it in GitHub Desktop.
Save daveaspinall/c915406673d8e4fc4c0e to your computer and use it in GitHub Desktop.
Save Typekit sync fonts to new location

Find the fonts you want to copy:

# Show hidden files in Finder
defaults write com.apple.finder AppleShowAllFiles YES

# Location of Typekit Synced fonts
cd /Users/daveaspinall/Library/Application\ Support/Adobe/CoreSync/plugins/livetype/.r

# Open in Finder to preview them
open .

Install the rename utility via brew (if you don't already have it):

brew install rename

Copy and Paste them to Dropbox (or wherever you want them), then:

# Move to location in iTerm/Terminal
cd /Users/daveaspinall/Dropbox/Resources/Fonts/Your\ Font

# Rename them (dry run...remove the n to do the renaming)
rename -nv 's/\.([^.]+)/$1/' \.*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment