Skip to content

Instantly share code, notes, and snippets.

@jbaginski
Created September 6, 2017 14:19
Show Gist options
  • Save jbaginski/eb18b9f5ec53700bbc40c5698541946f to your computer and use it in GitHub Desktop.
Save jbaginski/eb18b9f5ec53700bbc40c5698541946f to your computer and use it in GitHub Desktop.
#!/bin/bash
adb devices | awk '{ print $1 }' | grep -v "List" | grep -v "192.168." | xargs -I{} adb -s {} reboot
watch -d -n 1 devices
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment