Created
April 26, 2014 08:48
-
-
Save ViliusKraujutis/11315121 to your computer and use it in GitHub Desktop.
Make screenshot from Android device from command line with ADB
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 | |
adb shell screencap -p | perl -pe 's/\x0D\x0A/\x0A/g' > adb-screenshot-$(date +%Y%m%d-%H%M%S).png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment