Skip to content

Instantly share code, notes, and snippets.

View gorbster's full-sized avatar

Brian Gorby gorbster

View GitHub Profile
@gorbster
gorbster / find_dsym.sh
Created January 27, 2012 19:06
Find a matching dSYM UUID in the Spotlight index
#!/bin/bash
die () {
echo >&2 "$@"
exit 1
}
[ "$#" -eq 1 ] || die "1 argument (UUID) required, $# provided"
MDFIND=/usr/bin/mdfind
UUID=`echo ${1} |