Skip to content

Instantly share code, notes, and snippets.

@geta6
Created June 19, 2013 09:22
Show Gist options
  • Save geta6/5812962 to your computer and use it in GitHub Desktop.
Save geta6/5812962 to your computer and use it in GitHub Desktop.
OSXでフォントキャッシュをクリアするスクリプト
#!/bin/sh
echo 'remove database'
atsutil databases -removeUser 2>&1 > /dev/null
atsutil server -shutdown 2>&1 > /dev/null
echo 'restart cache server...'
sleep 2
atsutil server -ping
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment