Created
December 11, 2015 04:35
-
-
Save j796160836/1d7d7a43d92dbdd2465a to your computer and use it in GitHub Desktop.
Capture Android screenshot and save into desktop folder
This file contains hidden or 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 | |
| export FILE_NAME=`date '+%Y_%m_%d_%H_%M_%S'`_screen | |
| adb shell screencap -p /data/local/tmp/$FILE_NAME.png | |
| adb pull /data/local/tmp/$FILE_NAME.png ~/Desktop/$FILE_NAME.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment