1fpaste(1)                                                            fpaste(1)
2
3
4

NAME

6       fpaste - A cli frontend for the fpaste.org pastebin
7

SYNOPSIS

9       fpaste [OPTION]... [FILE]...
10

DESCRIPTION

12       It is often useful to be able to easily paste text to the Fedora Paste‐
13       bin at http://fpaste.org and this  simple  utility  will  do  that  and
14       return  the  resulting  URL so that people may examine the output. This
15       can hopefully help folks who are for some reason stuck without X, work‐
16       ing remotely, or any other reason they may be unable to paste something
17       into the pastebin using a web browser.
18

OPTIONS

20       --version
21              show program's version number and exit
22
23       -h, --help
24              show help message and exit
25
26       -t "TITLE", --title="TITLE"
27              title for paste; default is UNTITLED
28
29       -d "PASSWORD", --password="PASSWORD"
30              password for paste; default is ""
31
32       -l "LANGUAGE"
33              language of content for syntax highlighting; default is  "text";
34              use "list" to show all 200+ supported langs
35
36       -x "EXPIRES"
37              time  before  paste  is  removed;  default is 604800 seconds for
38              unauthenticated  posts;  valid  options:  1800,  21600,   86400,
39              604800, 2592000
40
41       -U, --URL "URL"
42              URL of fpaste server; default is http://fpaste.org
43
44       -P, --private
45              make paste private; default is yes; valid options: yes, no
46
47       -i, --clipin
48              read  paste  text  from  current X clipboard selection [requires
49              xsel]
50
51       -o, --clipout
52              save returned paste URL to all the clipboards i.e primary,  sec‐
53              ondary and clipboard
54
55       --input-selection=CLIPBOARD
56              specify  which  X  clipboard  to  use.  valid options: "primary"
57              (default; middle-mouse-button paste), "secondary" (uncommon), or
58              "clipboard" (ctrl-v paste)
59
60       --fullpath
61              use pathname VS basename for file description(s)
62
63       --pasteself
64              paste this script itself
65
66       --sysinfo
67              paste system information
68
69       --printonly
70              print paste, but do not send
71
72       --confirm
73              print paste, and prompt for confirmation before sending
74

EXAMPLES

76       Paste file foo.txt at fpaste.org
77
78              fpaste foo.txt
79
80       Paste  output  of  ifconfig  to fpaste.org with description "my network
81       config"
82
83              ifconfig | fpaste
84
85       Paste mycode.py to fpaste.org with description as  "problem  with  foo"
86       and language "python"
87
88              fpaste -l python mycode.py
89
90       Paste  mouse-selected  text from the primary X selection clipboard, and
91       then overwrite the same clipboard with the returned fpaste URL
92
93              fpaste -io
94
95       To manually paste clipboard contents, run fpaste without file arguments
96       so  that  it  waits  for  input,  then  paste using mouse middle-click,
97       <Ctrl-V>, or other, then press <Enter> followed by <Ctrl-D>  to  finish
98       (EOF).
99
100       To paste the output of more than one program and/or file at a time, use
101       the following example forms:
102
103              (lsusb ; lspci) | fpaste
104              fpaste <(lsusb) <(lspci)
105
106              fpaste <(fdisk -l) /etc/grub.conf
107              (fdisk -l ; cat /etc/grub.conf) | fpaste
108
109              (uname -a ; yum repolist) | fpaste
110
111       Gather and paste various information about the running system. The info
112       collected should be practically anonymous, and you may use the --print‐
113       only or --confirm options to preview what  would  be  sent.  fpaste.org
114       URLs  are also practically anonymous ([a-zA-Z0-9]**4 == 14,776,336 com‐
115       binations), so you may also preview it instead before giving  the  link
116       out.
117
118              fpaste --sysinfo
119              fpaste --sysinfo --confirm
120              fpaste --sysinfo --printonly | less
121

BUGS

123       Report bugs to: https://pagure.io/fpaste/new_issue
124       or to: Jason 'zcat' Farrell <farrellj AT gmail DOT com> and Ankur Sinha
125       'FranciscoD' <ankursinha AT fedoraproject DOT org>.
126

AUTHOR

128       Fedora Unity
129
130
131
132
133Fedora Unity                    version 0.3.9.2                      fpaste(1)
Impressum