Created
February 16, 2010 06:32
-
-
Save gumayunov/305352 to your computer and use it in GitHub Desktop.
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
#!/bin/sh | |
# install scrot pwgen xsel | |
# your dropbox account number goes here | |
DROPBOX=1788721 | |
FILENAME=$HOME'/Dropbox/Public/screenshots/%Y%m%d-%H%M%S-screenshot-'`pwgen -1`'.png' | |
scrot -s $FILENAME -e 'curl "http://is.gd/api.php?longurl=http://dl.dropbox.com/u/'$DROPBOX'/screenshots/"$n' 2>/dev/null | xsel -i -b |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment