Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- #username=
- #password=
- #server=
- #port=
- #path=
- browser='google-chrome'
- t_file=`tempfile`.png
- import $t_file
- curl -F username=$username -F password=$password -F imagedata="@$t_file;filename=gyazo.com" $server:$port$path | xargs -0 $browser
- rm $t_file
Add Comment
Please, Sign In to add comment