Created
September 26, 2012 03:34
-
-
Save daijo/3785851 to your computer and use it in GitHub Desktop.
Busy pulling a log file and tailing it from an Android device.
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
#!/bin/bash | |
while true; do | |
adb pull $1 | |
filename=$(basename $1) | |
tail -50 $filename | |
sleep 2 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment