FPASTE(1)

πŸ“¦
version 0.5.0.0 Β· 3 versions
, in fedora 43, fedora 44

πŸ’– FPASTE(1) β€” bestie's guide to yeeting text into the void (lovingly) πŸ’–

okay so. hi. this is the manual page for fpaste, version 0.5.0.0, and I am so normal about it. section 1 of the manual, user commands, we're here, we're thriving. let's go 🫢


🌸 NAME 🌸

fpaste β€” manual page for fpaste 0.5.0.0 πŸ’…


✨ SYNOPSIS ✨

fpaste [OPTION]... [FILE]...

like. that's it. that's the whole vibe. you give it options, you give it files (or you don't and it just waits for you like a loyal little guy), and it does the thing πŸ’–


πŸ¦‹ DESCRIPTION πŸ¦‹

So what does it do, bestie? It sends your text file(s), your stdin, or your clipboard to the Fedora community pastebin over at https://paste.centos.org, and then it hands you back the URL. that's the whole personality. iconic behavior honestly πŸ‘‘

And listen, there's a real reason this exists. It's often super useful to be able to easily paste text to the Fedora Pastebin at http://paste.fedoraproject.org, and this little utility does exactly that and returns the resulting URL so that people can go look at your output. This is for the folks who are, for whatever reason, stuck without a graphical interface, or working remotely, or literally any other reason they can't paste something into the pastebin using a web browser. we see you, we love you, we got you πŸ˜­πŸ’œ

Examples, in their natural habitat:

fpaste file1.txt file2.txt
dmesg | fpaste
(prog1; prog2; prog3) | fpaste
fpaste --sysinfo --confirm
fpaste -t "debug output" -l python foo.py

πŸŽ€ OPTIONS πŸŽ€

  • --version β€” show the program's version number and dip out ✌️
  • -h, --help β€” show this help message and exit, the classic "wait what" button

πŸ’« paste.fedoraproject.org Options πŸ’«

  • -t "TITLE", --title="TITLE" β€” the title of your paste; if you don't say anything it defaults to UNTITLED (no thoughts, head empty 🫧)
  • -a "AUTHOR", --author="AUTHOR" β€” author name; empty by default, so you're a mystery, a legend, a ghost πŸ‘»
  • -r PRIVATE, --private=PRIVATE β€” make the paste private; defaults to 1
  • -l "LANGUAGE" β€” language of the content, for syntax highlighting; default is "text"; hit it with "list" and it'll show you all 239 supported langs. TWO HUNDRED AND THIRTY NINE. we are so back 🌈
  • -x LIFE β€” life of the paste, in minutes; default is 1 day (which is also the maximum, so don't get any ideas about immortality, bestie) πŸ’€

🌟 Input/Output Options 🌟

  • -i, --clipin β€” read the paste text from the current X clipboard selection [requires: xsel]
  • -w, --wayland-clipin β€” read the paste text from the Wayland selection [requires the wl-clipboard package] β€” wayland girlies rise 🧚
  • -o, --clipout β€” save the returned paste URL to all available clipboards
  • --input-selection=CLIP β€” specify which X clipboard to use. valid options are:
    • "primary" β€” the default; middle-mouse-button paste
    • "secondary" β€” uncommon, a rare little creature
    • "clipboard" β€” ctrl-v paste
  • --fullpath β€” use pathname VS basename for the file description(s)
  • --pasteself β€” paste this script itself. it's self-aware. it's giving main character energy 😌
  • --sysinfo β€” paste system information
  • --sysinfo-short β€” paste shortened system information (the tl;dr)
  • --audioinfo, --sysinfo-audio β€” paste general audio information πŸ”Š
  • --videoinfo, --sysinfo-video β€” paste general video information 🎬
  • --diskinfo, --sysinfo-disk β€” paste general disk information πŸ’Ύ
  • --netinfo, --sysinfo-net β€” paste general network information 🌐
  • --dnfinfo, --sysinfo-dnf β€” paste repository and package information
  • --pci-verbose, --sysinfo-pci-verbose β€” paste verbose pci information
  • --usb-verbose, --sysinfo-usb-verbose β€” paste verbose usb information
  • --btrfsinfo, --sysinfo-btrfs β€” paste btrfs related system information 🌳
  • --printonly β€” print the paste, but do not send it. look only, no touch πŸ‘€
  • --confirm β€” print the paste, and prompt you for confirmation before sending. consent is key πŸ”₯
  • --raw-url β€” print raw url

πŸ“ EXAMPLES πŸ“

Paste file foo.txt at paste.fedoraproject.org

fpaste foo.txt

Paste output of ifconfig to paste.fedoraproject.org with description "my network config"

ifconfig | fpaste

Paste mycode.py to paste.fedoraproject.org with description as "problem with foo" and language "python"

fpaste -l python mycode.py

Paste mouse-selected text from the primary X selection clipboard, and then overwrite the same clipboard with the returned fpaste URL

fpaste -io

To manually paste clipboard contents, run fpaste without file arguments so that it waits for input, then paste using mouse middle-click, <Ctrl-V>, or other, then press <Enter> followed by <Ctrl-D> to finish (EOF). that's the whole dance, bestie πŸ’ƒ

To paste the output of more than one program and/or file at a time, use the following example forms:

(lsusb ; lspci) | fpaste
fpaste <(lsusb) <(lspci)

fpaste <(fdisk -l) /etc/grub.conf
(fdisk -l ; cat /etc/grub.conf) | fpaste

(uname -a ; yum repolist) | fpaste

Gather and paste various information about the running system

The info collected should be practically anonymous, and you may use the --printonly or --confirm options to preview what would be sent. paste.fedoraproject.org URLs are also practically anonymous ([a-zA-Z0-9]**4 == 14,776,336 combinations), so you may also preview it instead before giving the link out. πŸ‘‘

fpaste --sysinfo
fpaste --sysinfo --confirm
fpaste --sysinfo --printonly | less

πŸ’€ BUGS πŸ’€

Found a bug? not on my watch. Report bugs to: https://pagure.io/fpaste/new_issue

or to: Jason 'zcat' Farrell <farrellj AT gmail DOT com> and Ankur Sinha 'FranciscoD' <ankursinha AT fedoraproject DOT org>.

be nice to them, they're doing great 🫢


πŸ‘‘ AUTHOR πŸ‘‘

Fedora Unity


and that's the whole page, bestie. you're now certified in the art of pasting. slay πŸ’…βœ¨

this has been fpaste 0.5.0.0, from August 2024, page FPASTE(1) β€” go forth and paste responsibly πŸŽ€πŸ’–πŸ¦‹

πŸ“¦ where this page comes from