I'm coding a script to automate an application configuration export process.
adb shell
...
<open app menu>
<open app settings>
<save app backup>
...
exit
The problem is: after saving the backup I want to pull the file to my computer, using this:
adb pull /storage/emulated/0/Backups/ ~/Documents/phone
Although, I can't figure out how to execute this command, after exiting adb shell
. It seems like commands after exit
are ignored:
adb shell
...
<open app menu>
<open app settings>
<save app backup>
...
exit
adb pull /storage/emulated/0/Backups/ ~/Documents/phone
Maybe, this is an issue I should addres to the "Unix & Linux" community, but I decided to try here first.