Skip to content

Instantly share code, notes, and snippets.

@daijo
Created September 26, 2012 03:34
Show Gist options
  • Save daijo/3785851 to your computer and use it in GitHub Desktop.
Save daijo/3785851 to your computer and use it in GitHub Desktop.
Busy pulling a log file and tailing it from an Android device.
#!/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