Last active
October 24, 2018 17:01
-
-
Save naranjja/a7239db7bc2cdbb2120219016ca46aa6 to your computer and use it in GitHub Desktop.
Take screenshot of Android connected phone on *nix
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
adb exec-out screencap -p > ~/screenshots/filename.png | |
# with timestamp filename | |
adb exec-out screencap -p > ~/screenshots/$(date +%s).png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment