Created
February 5, 2024 13:42
-
-
Save railson-ferreira/f0863f230ded09be1d16f7ee9dbe7f9b to your computer and use it in GitHub Desktop.
Script to set up the adb over Wi-FI and auto-connect
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 | |
| adb tcpip 5555 | |
| cat ~/adb-devices.txt | while read adb_device | |
| do | |
| adb connect $adb_device & | |
| done | |
| # file: ~/adb-devices.txt | |
| # 192.168.0.10 | |
| # 192.168.0.11 | |
| # 192.168.0.12 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment