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 a graph‐
16       ical  interface,  working  remotely,  or  any  other reason they may be
17       unable to paste something 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       -t "AUTHOR", --title="AUTHOR"
30              author name; empty by default
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              life of paste in minutes; default is 1 day (maximum)
38
39       -r, --private
40              make  paste  private;  default is yes; valid options: 1 (yes), 0
41              (no)
42
43       -i, --clipin
44              read paste text from current  X  clipboard  selection  [requires
45              xsel]
46
47       -o, --clipout
48              save  returned paste URL to all the clipboards i.e primary, sec‐
49              ondary and clipboard
50
51       --input-selection=CLIPBOARD
52              specify which X  clipboard  to  use.  valid  options:  "primary"
53              (default; middle-mouse-button paste), "secondary" (uncommon), or
54              "clipboard" (ctrl-v paste)
55
56       -w, --wayland-clipin
57              read paste text from Wayland selection [requires: wl-clip]
58
59       --fullpath
60              use pathname VS basename for file description(s)
61
62       --pasteself
63              paste this script itself
64
65       --sysinfo
66              paste system information
67
68       --printonly
69              print paste, but do not send
70
71       --confirm
72              print paste, and prompt for confirmation before sending
73

EXAMPLES

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

BUGS

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

AUTHOR

127       Fedora Unity
128
129
130
131
132Fedora Unity                    version 0.4.0.1                      fpaste(1)
Impressum