Created
August 17, 2020 23:20
-
-
Save brettmcginnis/d35bba2d75f53051f7f20b657455fe42 to your computer and use it in GitHub Desktop.
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
# Android Screenshot | |
function ass() { | |
file_name="android-$(date "+%Y.%m.%d-%H.%M.%S")" | |
if [ ! -z "$1" ]; then | |
file_name="$1" | |
fi | |
adb exec-out screencap -p > $file_name.png | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment