PASTEBINIT(1)

πŸ’– PASTEBINIT πŸ’–

okay bestie, so this is the manual page for pastebinit, a lil command-line pastebin client. it's in the User Commands section of the manual, and honestly? it's iconic. let's get into it πŸŽ€


✨ SYNOPSIS ✨

pastebinit [OPTION...] [FILE...]

🌸 DESCRIPTION 🌸

so like, this manual page documents briefly the pastebinit commands. brief vibes only. πŸ’…

pastebinit reads text and sends it to a "pastebin" on the internet, returning the URL to the user. that's it. that's the whole job. it just... yeets your text into the void and hands you back a link. main character behaviour honestly. ✨

and it lets the text be passed through a pipe (|) or from files as arguments. so you can go full cat thing | pastebinit or pastebinit thing.txt, whatever your heart says. πŸ¦‹


πŸ‘‘ OPTIONS πŸ‘‘

🌈 General arguments

  • -b [pastebin] β€” picks which pastebin to use. the default is distro-specific with a fallback to bpa.st.
  • -i [input file] β€” give it an input file.
  • -l β€” list all supported pastebins. window shopping, but for pastebins.
  • -E β€” print the content to stdout too. like, you get the link and the receipts.
  • -h β€” print the help screen.
  • -v β€” print the version number.
  • -V β€” print verbose output to stderr.

πŸ¦‹ Optional arguments (not supported by all pastebins)

heads up bestie: these are optional, and not all pastebins support them. don't come for me if your fave pastebin doesn't play nice. πŸ’€
  • -a [author] β€” sets the author. default: $USER.
  • -t [title of paste] β€” sets the title of the paste. default: none.
  • -f [format of paste] β€” sets the format of the paste. default: text.
  • -P [private level] β€” sets the private level. default: 1.
  • -e [expiry of paste] β€” sets the expiry of the paste. default: none.
  • -u [username] β€” sets the username. default: none.
  • -p [password] β€” sets the password. default: none.

πŸŽ€ CONFIGURATION FILES πŸŽ€

if a ~/.pastebinit.xml file is found in the user's home directory, pastebinit will use it for its configuration. it's giving "customization era". πŸ’–

here's an example file, copy it and make it your own:

<pastebinit>
    <pastebin>paste.ubuntu.com</pastebin>
    <author>Stephane Graber</author>
    <format>text</format>
    <private>1</private>
    <expiry></expiry>
</pastebinit>

similarly, pastebin configuration files can be put under a ~/.pastebin.d directory to override the specific options of those. so if you want one specific pastebin to do its own thing, that's your moment. 🌟

XDG config and data locations are also supported for these two. yes, both of them. we love a flexible filesystem layout. 🫢


πŸ’œ AUTHORS πŸ’œ

pastebinit is currently written by Stephane Graber.

username, password, format, title, arguments and redirect support added by Daniel Bartlett.


Copyright Β© 2007-2014 Stephane Graber


okay that's the whole page, bestie! this version of pastebinit comes to you from the pastebinit manual, dated May 1, 2024 β€” go forth and paste responsibly πŸ’…βœ¨πŸŒˆ

πŸ“¦ where this page comes from