Last active
August 29, 2015 14:06
-
-
Save mrmike/fecbd109a02e8b972d9d to your computer and use it in GitHub Desktop.
Android apps remover
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 | |
| for package_name in `adb shell pm list packages | grep -o com.wikia.[a-zA-Z\.]*` ; do | |
| adb devices | tail -n +2 | awk '{print $1}' | xargs -i adb -s {} uninstall $package_name > /dev/null 2>&1 | |
| status=$? | |
| if [ $status -eq 0 ] ; then | |
| echo "[REMOVED] $package_name" | |
| fi | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment