Skip to content

Instantly share code, notes, and snippets.

@amien8
Forked from ssp/gist:2966967
Created December 14, 2015 08:32
Show Gist options
  • Save amien8/3e1c4071a6480621c1a1 to your computer and use it in GitHub Desktop.
Save amien8/3e1c4071a6480621c1a1 to your computer and use it in GitHub Desktop.
UnicodeChecker + Spotlight + command line
# Assuming you have UnicodeChecker’s Spotlight support installed on your Mac,
# you can use mdfind to find unicode characters on your machine.
# A bit of command line wrangling later you may find the character names.
mdfind roman numeral uccharacter | xargs -I FILENAME -L 1 sh -c 'plutil -convert xml1 -o - "FILENAME" | xpath "//string[preceding-sibling::key/text()=\"name\"]/text()"; echo ""' 2>/dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment