Created
August 4, 2016 12:42
-
-
Save eighthave/a345997be7e5dff8718fc42a726cef19 to your computer and use it in GitHub Desktop.
script to quickly take a screenshot from Android then post it to clbin.com
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
#!/bin/sh | |
cd ~/Downloads | |
filename=screenshot-`date '+%s'`.png | |
$ANDROID_HOME/tools/screenshot2 $@ $filename | |
echo ~/Downloads/$filename | |
curl -F "clbin=@$filename" https://clbin.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment