pastebinit man page

pastebinit — command-line pastebin client

Synopsis

pastebinit [-abfhiljmrtup]

Description

This manual page documents briefly the pastebinit commands

pastebinit reads text and sends it to a "pastebin" on the internet, returning the URL to the user.

It allows the text to be passed through a pipe (|) or from a file passed as an argument.

Options

Optional arguments (not supported by all pastebins)

-a [author] (default: $USER)

-b [pastebin url] (default is distro-specific with a fallback to pastebin.com)

-f [format for syntax-highlighting] (default: text) (check pastebin's website for complete list, example: python)

-h Help screen

-i [filename] Use filename for input

-l List all the supported pastebins

-j [jabberid] (default: none)

-m [permatag] (default: none)

-r [parent post ID] (default: none)

-t [title of paste] (default: none)

-u [username] (default: none)

-p [password] (default: none)

Configuration File

If a .pastebinit.xml file is found in the user's home directory, pastebinit will use it for its configuration.

Here's an example file:

<pastebinit>
<pastebin>http://paste.ubuntu.com</pastebin>
<author>Stephane Graber</author>
<jabberid>stgraber@stgraber.org</jabberid>
<format>text</format>
</pastebinit>

Authors

Pastebinit is currently written by StephaneGraber.

username, password, format, title, arguments and redirect support added by Daniel Bartlett.

Website: http://launchpad.net/pastebinit

E-mail: stgraber@ubuntu.com

Info

January 09, 2011 [FIXME: source] [FIXME: manual]