summaryrefslogtreecommitdiff
path: root/installOnAllEmulators.sh
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2019-07-14 14:06:03 +0200
committercyBerta <cyberta@riseup.net>2019-07-14 14:06:03 +0200
commit4af8a54fb235e90372c94489a71ffd756047c1cc (patch)
tree0901b3ae2da6388852286add0671d04f4e25b9c8 /installOnAllEmulators.sh
parent51f372eb071b2ce0cb8078bb327d5138af1ea62c (diff)
add a script to install an apk on all running emulators at the same time
Diffstat (limited to 'installOnAllEmulators.sh')
-rwxr-xr-xinstallOnAllEmulators.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/installOnAllEmulators.sh b/installOnAllEmulators.sh
new file mode 100755
index 00000000..e0ed4c6a
--- /dev/null
+++ b/installOnAllEmulators.sh
@@ -0,0 +1,2 @@
+#!/bin/bash
+adb devices | grep emulator | cut --output-delimiter ' ' -f1 | xargs -I{} adb -s {} install -r $1