Created
October 13, 2021 07:58
-
-
Save malpka/1e7cbcc09e9e44e515ad544ae86ef261 to your computer and use it in GitHub Desktop.
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
# Retrieves all packages present on the device as .apk files | |
# Useful for application backup for a device that is not anymore supported in Google Play Store | |
.\adb shell pm list packages |% {if($_){$_; $a=$(.\adb shell pm path $_.Substring(8)); $b=$a[0].Substring(8); .\adb pull $b; }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment