4 ms·
function jpgto(){ local jptkeyword=$1; local jptpath=$2; curl -silent -F keyword=$jptkeyword -F file="@$jptpath" jpg.to/finish.php >> /dev/nul
by sequoia 15y 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/1878588 https://gist.github.com/1878588
EDIT: it outputs the vote link because we don't know if you have the top img for that tag.