-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathgrml-paste.1.txt
More file actions
88 lines (51 loc) · 1.91 KB
/
Copy pathgrml-paste.1.txt
File metadata and controls
88 lines (51 loc) · 1.91 KB
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
grml-paste(1)
=============
Name
----
grml-paste - command line interface for 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).
**-t 'token', --token='TOKEN'**::
Use an API token for authentication. Users can create tokens on https://paste.debian.net/ by authenticating against salsa.debian.org. After logging in, you can manage your tokens at https://paste.debian.net/tokens. Using a token allows you to circumvent most of the service's strict spam checks (e.g., line break limits) and benefit from relaxed rate limits, which is especially useful for automated scripts or large pastes.
**-v, --verbose**::
More verbose output.
Actions
-------
**add**::
Add paste to the server: <1.line> <2.line> ...
**del '<id>'**::
Delete paste from server.
**get '<id>'**::
Get paste from server.
**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'.
**cat /var/log/syslog | grml-paste add --token=YOUR_SECRET_TOKEN**::
Upload syslog using an authentication token to bypass spam filters and size limits.
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>