Last active
September 5, 2019 12:04
-
-
Save tw-Frey/7daaa51aeb7d6dc9c3ec68cc2a002d7d to your computer and use it in GitHub Desktop.
adb screencap used by exec-out
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.exe exec-out screencap -p > screenshot-%date:~0,3%%date:~4,2%%date:~7,2%-%time:~0,2%%time:~3,2%%time:~6,2%%time:~9,2%.png | |
| PS: | |
| %date% = 108/09/05 | |
| %time% = 17:09:15.21 | |
| ref: | |
| https://stackoverflow.com/questions/13578416/read-binary-stdout-data-from-adb-shell/31401447#31401447 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment