Skip to content

Instantly share code, notes, and snippets.

@marsicdev
Created October 25, 2016 21:01
Show Gist options
  • Save marsicdev/87ac989d32c529821dee7e96aeaaf261 to your computer and use it in GitHub Desktop.
Save marsicdev/87ac989d32c529821dee7e96aeaaf261 to your computer and use it in GitHub Desktop.
alias startintent="adb devices | tail -n +2 | cut -sf 1 | xargs -I X adb -s X shell am start $1"
alias apkinstall="adb devices | tail -n +2 | cut -sf 1 | xargs -I X adb -s X install -r $1"
alias rmapp="adb devices | tail -n +2 | cut -sf 1 | xargs -I X adb -s X uninstall $1"
alias clearapp="adb devices | tail -n +2 | cut -sf 1 | xargs -I X adb -s X shell pm clear $1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment