Active Topics

 



Notices


Reply
Thread Tools
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#1
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.


(It's in Extras so you can just search for pastebinit through the application manager)

Last edited by qwerty12; 2009-02-20 at 11:32. Reason: grammar...
 

The Following 5 Users Say Thank You to qwerty12 For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 19:40.