Created
August 21, 2017 10:24
-
-
Save danybony/cc6d0e2cc9149072212a9239ba6328c4 to your computer and use it in GitHub Desktop.
Install all APKs from a dir
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
total=$(ls -1 apps/*.apk | wc -l) | |
counter=0 | |
for app in apps/*.apk; do | |
counter=$((counter+1)) | |
echo $counter/$total - Installing $app | |
adb install -r $app | |
echo | |
done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment