man-pages/man1/pastebinit.1.html
2021-03-31 01:06:50 +01:00

209 lines
4.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of PASTEBINIT</TITLE>
</HEAD><BODY>
<H1>PASTEBINIT</H1>
Section: [FIXME: manual] (1)<BR>Updated: August 03, 2019<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
pastebinit - command-line pastebin client
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<DL COMPACT>
<DT id="1">
<B>pastebinit</B> [<B>-abfhiljmrtup</B>]
</DL>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<P>
<DD>This manual page documents briefly the
<B>pastebinit</B>
commands
<P>
<B>pastebinit</B>
reads text and sends it to a &quot;pastebin&quot; on the internet, returning the URL to the user.
<P>
It allows the text to be passed through a pipe (|) or from files as arguments.
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
<A NAME="lbAF">&nbsp;</A>
<H3>Optional arguments (not supported by all pastebins)</H3>
<P>
<B>-a </B><B>[author]</B> (default: $USER)
<DL COMPACT><DT id="2"><DD>
</DL>
<P>
<B>-b </B><B>[pastebin&nbsp;url]</B> (default is distro-specific with a fallback to pastebin.com)
<DL COMPACT><DT id="3"><DD>
</DL>
<P>
<B>-E</B> Print the content to stdout too
<DL COMPACT><DT id="4"><DD>
</DL>
<P>
<B>-f </B><B>[format&nbsp;for&nbsp;syntax-highlighting]</B> (default: text) (check pastebin's website for complete list, example: python)
<DL COMPACT><DT id="5"><DD>
</DL>
<P>
<B>-h</B> Help screen
<DL COMPACT><DT id="6"><DD>
</DL>
<P>
<B>-i </B><B>[filename]</B> Use filename for input
<DL COMPACT><DT id="7"><DD>
</DL>
<P>
<B>-l</B> List all the supported pastebins
<DL COMPACT><DT id="8"><DD>
</DL>
<P>
<B>-j </B><B>[jabberid]</B> (default: none)
<DL COMPACT><DT id="9"><DD>
</DL>
<P>
<B>-m </B><B>[permatag]</B> (default: none)
<DL COMPACT><DT id="10"><DD>
</DL>
<P>
<B>-t </B><B>[title&nbsp;of&nbsp;paste]</B> (default: none)
<DL COMPACT><DT id="11"><DD>
</DL>
<P>
<B>-P </B><B>[private]</B> (default: 1)
<DL COMPACT><DT id="12"><DD>
</DL>
<P>
<B>-u </B><B>[username]</B> (default: none)
<DL COMPACT><DT id="13"><DD>
</DL>
<P>
<B>-p </B><B>[password]</B> (default: none)
<DL COMPACT><DT id="14"><DD>
</DL>
<P>
<B>-v</B> Version number
<DL COMPACT><DT id="15"><DD>
</DL>
<A NAME="lbAG">&nbsp;</A>
<H2>CONFIGURATION FILE</H2>
<P>
If a .pastebinit.xml file is found in the user's home directory, pastebinit will use it for its configuration.
<P>
Here's an example file:
<P>
<BR>&nbsp;&lt;pastebinit&gt;
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;pastebin&gt;<A HREF="https://paste.ubuntu.com">https://paste.ubuntu.com</A>&lt;/pastebin&gt;
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;author&gt;Stephane&nbsp;Graber&lt;/author&gt;
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;jabberid&gt;<A HREF="mailto:stgraber@stgraber.org">stgraber@stgraber.org</A>&lt;/jabberid&gt;
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;format&gt;text&lt;/format&gt;
<BR>&nbsp;&lt;/pastebinit&gt;
<A NAME="lbAH">&nbsp;</A>
<H2>AUTHORS</H2>
<P>
Pastebinit is currently written by
Stephane
Graber.
<P>
username, password, format, title, arguments and redirect support added by Daniel Bartlett.
<P>
Website: <A HREF="http://launchpad.net/pastebinit">http://launchpad.net/pastebinit</A>
<P>
E-mail: <A HREF="mailto:stgraber@ubuntu.com">stgraber@ubuntu.com</A>
<A NAME="lbAI">&nbsp;</A>
<H2>COPYRIGHT</H2>
<BR>
Copyright &#169; 2007-2014 Stephane Graber
<BR>
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="16"><A HREF="#lbAB">NAME</A><DD>
<DT id="17"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="18"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="19"><A HREF="#lbAE">OPTIONS</A><DD>
<DL>
<DT id="20"><A HREF="#lbAF">Optional arguments (not supported by all pastebins)</A><DD>
</DL>
<DT id="21"><A HREF="#lbAG">CONFIGURATION FILE</A><DD>
<DT id="22"><A HREF="#lbAH">AUTHORS</A><DD>
<DT id="23"><A HREF="#lbAI">COPYRIGHT</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:21 GMT, March 31, 2021
</BODY>
</HTML>