Created
October 16, 2013 22:38
-
-
Save strazzere/7016202 to your computer and use it in GitHub Desktop.
Automatically find the path of an apk, perform a pull and rename without the number increments
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
adb shell pm path $1 |\ | |
sed 's/package://' |\ | |
tr -d '\r' |\ | |
xargs -I % adb pull % $1.apk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment