maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Pastebinit - command-line pastebin client (https://talk.maemo.org/showthread.php?t=27004)

qwerty12 2009-02-20 11:02

Pastebinit - command-line pastebin client
 
Hi,

I use pastebins a lot and while browsing, I saw pastebinit which is a tool to upload to pastebins from the command line.

It supports the following pastebins:
Example usage:

Sending the word "hi" to pastebin.com (I'd advise not to send "hi" regularly - probably will count as spam):
In X Terminal:
Code:

echo "hi" | pastebinit -
Sending the word "hi" to pastebin.com (I'd advise not to send "hi" regularly - probably will count as spam) under the name of "Jane Doe":
In X Terminal:
Code:

echo "hi" | pastebinit -a "Jane Doe" -
Sending the word "hi" to slexy.org (I'd advise not to send "hi" regularly - probably will count as spam) under the name of "Jane Doe":
In X Terminal:
Code:

echo "hi" | pastebinit -a "Jane Doe" -b http://slexy.org -
Sending the contents of the file /media/mmc2/whatever (which equates to the file "whatever" residing on the root of the internal memory card) to pastebin.com:
In X Terminal:
Code:

pastebinit -i /media/mmc2/whatever
At the end of running a command, you will get a url with a link to your pastebin.

Running
Code:

pastebinit -h
will reveal the full range of options available to you.

http://static.maemo.org/style_maemo2...tton_small.png
(It's in Extras so you can just search for pastebinit through the application manager)


All times are GMT. The time now is 23:59.

vBulletin® Version 3.8.8