Created
December 15, 2014 10:42
-
-
Save PomepuyN/08f6b8c89e9c5e8cac82 to your computer and use it in GitHub Desktop.
Take a screenshot by second on android
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/sh | |
LEVEL=3 | |
ISCHARGING=false | |
while [ 1=1 ] | |
do | |
adb shell screencap -p | sed 's/\r$//' > screen${LEVEL}.png | |
sleep 1 | |
LEVEL=$((LEVEL+1)) | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment