shell/ batch scripting to direct commands to adb shell

Put all the commands you want to run at once in an external file, one per line, then run:

adb shell < commands.txt

Leave a Comment