Skip to content

Instantly share code, notes, and snippets.

@danybony
Created August 21, 2017 10:24
Show Gist options
  • Save danybony/cc6d0e2cc9149072212a9239ba6328c4 to your computer and use it in GitHub Desktop.
Save danybony/cc6d0e2cc9149072212a9239ba6328c4 to your computer and use it in GitHub Desktop.
Install all APKs from a dir
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