Created
August 25, 2015 20:55
-
-
Save QuinnStephens/c0a7bd9060bbfd3aed80 to your computer and use it in GitHub Desktop.
Function for quick unique Android emulator screenshots
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
function acap { | |
NOW=`date +%s` | |
adb shell /system/bin/screencap -p /sdcard/screenshot_"${NOW}".png | |
adb pull /sdcard/screenshot_"${NOW}".png ~/Downloads/screenshot_"${NOW}".png | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment