Skip to content

Instantly share code, notes, and snippets.

@rpetrich
Created March 17, 2013 10:37
Show Gist options
  • Save rpetrich/5181000 to your computer and use it in GitHub Desktop.
Save rpetrich/5181000 to your computer and use it in GitHub Desktop.
#!/bin/sh
if [[ $# == 0 ]]; then
SYM_PATH="/var/mobile/Library/Logs/CrashReporter/LatestCrash.plist"
else
if [[ $1 == /* ]]; then
SYM_PATH="$1"
else
SYM_PATH="/var/mobile/Library/Logs/CrashReporter/LatestCrash-$1.plist"
fi
fi
ssh [email protected] -p 2222 "symbolicate \"$SYM_PATH\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment