Last active
August 29, 2015 14:07
-
-
Save michalbcz/744de11f522248c4e321 to your computer and use it in GitHub Desktop.
linux shell script to easily take screenshot from google glass
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
# ==== Google Glass ===== | |
# take screenshot | |
alias gtp='adb shell /system/bin/screencap -p /sdcard/screenshot.png' | |
# copy screenshot from glass to current directory (pwd) | |
alias gdp='adb pull /sdcard/screenshot.png screenshot_$(date -d "today" +"%s").png' | |
# take and copy screenshot to current dir | |
alias gg='gtp && gdp' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment