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       -n "NICKNAME"
27              your nickname; default is ""
28
29       -d "DESCRIPTION"
30              description of paste; default appends filename(s)
31
32       -l "LANGUAGE"
33              language of content for syntax highlighting; default is  "text";
34              use "list" to show all 160 supported langs
35
36       -x "EXPIRES"
37              time  before  paste  is removed; default is 86400 seconds; valid
38              options: 3600, 10800, 43200, 86400
39
40
41       -i, --clipin
42              read paste text from current X clipboard selection
43
44       -o, --clipout
45              save returned paste URL to X clipboard
46
47       --selection=CLIPBOARD
48              specify which X  clipboard  to  use.  valid  options:  "primary"
49              (default; middle-mouse-button paste), "secondary" (uncommon), or
50              "clipboard" (ctrl-v paste)
51
52       --fullpath
53              use pathname VS basename for file description(s)
54
55       --pasteself
56              paste this script itself
57
58       --sysinfo
59              paste system information
60
61       --printonly
62              print paste, but do not send
63
64       --confirm
65              print paste, and prompt for confirmation before sending
66

EXAMPLES

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

BUGS

115       Report bugs to: https://fedorahosted.org/fpaste/newticket
116       or to: Jason 'zcat' Farrell <farrellj AT gmail DOT com>.
117

AUTHOR

119       Fedora Unity
120
121
122
123
124Fedora Unity                     version 0.3.7                       fpaste(1)
Impressum