Skip to content

Instantly share code, notes, and snippets.

@ssp
Created June 21, 2012 16:51
Show Gist options
  • Save ssp/2966967 to your computer and use it in GitHub Desktop.
Save ssp/2966967 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