Created
November 19, 2019 10:51
-
-
Save hieu-van/dd304ba17669904f730dc5b727e3d064 to your computer and use it in GitHub Desktop.
Clear data of disabled apps in Android
This file contains 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/sh | |
for i in $(adb shell pm list packages -d | cut -d ':' -f 2); do | |
adb shell pm clear $i | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment