-
-
Save Jei/34530cb57e93642fd4685f75f33b7824 to your computer and use it in GitHub Desktop.
Send adb commands to all connected devices. Kudos to http://stackoverflow.com/questions/8610733/how-can-i-adb-install-an-apk-to-multiple-connected-devices
This file contains hidden or 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/bash | |
# | |
# Send adb commands to all connected devices. | |
# | |
# Usage: adb-all COMMANDS | |
# | |
adb devices | tail -n +2 | cut -sf 1 | xargs -I {} adb -s {} $@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment