mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-29 04:21:03 +08:00
e1fd393cad
Co-authored-by: Ivan Baluta <ivanbaluta.dev@gmail.com>
444 B
444 B
screencap
Take a screenshot of a mobile display. Note: This command can only be used through
adb shell. More information: https://developer.android.com/tools/adb#screencap.
- Take a screenshot:
screencap {{path/to/image.png}}
- Print file contents to
stdoutas PNG:
screencap -p
- Take a screenshot and save it over an
adbconnection:
adb shell screencap -p > {{path/to/image.png}}
- Display help:
screencap -h