1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
|
grml-paste(1)
=============
Name
----
grml-paste - command line interface for xmlrpc pastebins
Synopsis
--------
grml-paste [options] ACTION <args>
Description
-----------
grml-paste is a command line interface for uploading plain text to https://paste.debian.net/
Options
-------
**-e 'hours', --expire='HOURS'**::
Time at which paste should expire.
**-h, --help**::
Print help text.
**-l 'lang', --lang='LANG'**::
Type of language to highlight.
**-n 'name', --name='NAME'**::
Set your nickname (defaults to login username).
**-s 'server', --server='SERVER'**::
Set URL of paste server (defaults to paste.debian.net).
**-p, --private**::
Make private (hidden) submission to server, thus your paste is not visible on the webpage.
**-v, --verbose**::
More verbose output.
Actions
-------
**add**::
Add paste to the server: <1.line> <2.line> ...
**del '<digest>'**::
Delete paste from server.
**get '<id>'**::
Get paste from server.
**addurl '<url>'**::
Add short-URL.
**geturl '<url>'**::
Resolve short-URL.
**getclicks '<url>'**::
Get clicks of short-URL.
**getlangs**::
Get supported language highlighting types from server.
**help <action>**::
Print more verbose help about specified '<action>'.
Usage examples
--------------
**dmesg | tail | grml-paste add --name=grmluser**::
Upload last ten lines of dmesg output as user 'grmluser'.
**grep -e EE -e WW /var/log/Xorg.0.log | grml-paste add -p**::
Upload error and warning messages of X.org log as hidden entry.
Bugs
----
Please report feedback, link:https://grml.org/bugs/[bugreports] and wishes link:https://grml.org/contact/[to the grml team].
Authors
-------
Michael Gebetsroither <gebi@grml.org>
|