|
|
|
|
|
by sequoia
5235 days ago
|
|
function jpgto(){
local jptkeyword=$1;
local jptpath=$2;
curl -silent -F keyword=$jptkeyword -F file="@$jptpath" jpg.to/finish.php >> /dev/null;
echo "http://jpg.to/$jptkeyword";
}
[you@home]$ jpgto kittay /path/to/cat.jpg
jpgto bash function! Now with no error checking for worry free performance!! :p https://gist.github.com/1878588EDIT: it outputs the vote link because we don't know if you have the top img for that tag. |
|