SUSEPASTE(1)

πŸ“¦ version 0.7, in opensuse-leap 16.0

πŸ¦‹ susepaste(1) β€” like, the openSUSE pastebin tool, bestie

okay so real talk: this is the manual page for susepaste, a User Commands situation, and it's genuinely iconic. it does exactly one thing and it slays at it. let's go πŸ’…


✨ NAME ✨

susepaste β€” paste text on openSUSE Paste πŸŽ€

✨ SYNOPSIS ✨

susepaste [options] [FILE]

✨ DESCRIPTION ✨

so basically πŸ’– you take some text, and you yeet it onto the openSUSE pastebin site, which is literally https://paste.opensuse.org. that's the whole vibe.

  • if you give it no argument at all, it reads the text from standard input. classic.
  • if you do give it a file, it pastes the content of the file. main character energy.

after pasting, it prints out the URL. that's your receipt, bestie, keep it 🫢

also, heads up: options can be changed in the ~/.susepaste configuration file as variables, or you can just specify them as arguments. your call, both eat.


✨ OPTIONS ✨

  • -n NICK β€” nickname of the author of the paste πŸ‘‘
  • -t TITLE β€” name of the paste 🏷️
  • -k KEY β€” API key to paste as you πŸ”‘
  • -f SYNTAX β€” what kind of syntax highlighting should be used. default is text, and the possible values are, like, a lot 🌈:
    • abap β€” ABAP
    • actionscript β€” ActionScript
    • ada β€” Ada
    • apache β€” Apache configuration
    • applescript β€” AppleScript
    • apt_sources β€” Apt sources
    • asm β€” ASM
    • asp β€” ASP
    • autoconf β€” Autoconf
    • autohotkey β€” Autohotkey
    • autoit β€” AutoIt
    • avisynth β€” AviSynth
    • awk β€” awk
    • bash β€” Bash
    • basic4gl β€” Basic4GL
    • bibtex β€” BibTeX
    • blitzbasic β€” BlitzBasic
    • bnf β€” bnf
    • boo β€” Boo
    • bf β€” Brainfuck
    • c β€” C
    • csharp β€” C#
    • c_mac β€” C (Mac)
    • cpp β€” C++
    • cpp-qt β€” C++ (QT)
    • caddcl β€” CAD DCL
    • cadlisp β€” CAD Lisp
    • cfdg β€” CFDG
    • chaiscript β€” ChaiScript
    • cil β€” CIL
    • clojure β€” Clojure
    • cmake β€” CMake
    • cobol β€” COBOL
    • cfm β€” ColdFusion
    • css β€” CSS
    • cuesheet β€” Cuesheet
    • d β€” D
    • dcs β€” DCS
    • delphi β€” Delphi
    • diff β€” Diff
    • div β€” DIV
    • dos β€” DOS
    • dot β€” dot
    • ecmascript β€” ECMAScript
    • eiffel β€” Eiffel
    • email β€” eMail (mbox)
    • erlang β€” Erlang
    • fsharp β€” F#
    • fo β€” FO (abas-ERP)
    • fortran β€” Fortran
    • freebasic β€” FreeBasic
    • 4cs β€” GADV 4CS
    • gambas β€” GAMBAS
    • gdb β€” GDB
    • genero β€” genero
    • genie β€” Genie
    • glsl β€” glSlang
    • gml β€” GML
    • gettext β€” GNU Gettext
    • make β€” GNU make
    • gnuplot β€” Gnuplot
    • groovy β€” Groovy
    • gwbasic β€” GwBasic
    • haskell β€” Haskell
    • hicest β€” HicEst
    • hq9plus β€” HQ9+
    • html4strict β€” HTML
    • icon β€” Icon
    • image β€” Image (png, jpg)
    • ini β€” INI
    • inno β€” Inno
    • intercal β€” INTERCAL
    • io β€” Io
    • j β€” J
    • java β€” Java
    • java5 β€” Java(TM) 2 Platform Standard Edition
    • javascript β€” Javascript
    • jquery β€” jQuery
    • kixtart β€” KiXtart
    • klonec β€” KLone C
    • klonecpp β€” KLone C++
    • latex β€” LaTeX
    • lisp β€” Lisp
    • locobasic β€” Locomotive Basic
    • logtalk β€” Logtalk
    • lolcode β€” LOLcode
    • lotusformula β€” Lotus Notes @Formulas
    • lotusscript β€” LotusScript
    • lscript β€” LScript
    • lsl2 β€” LSL2
    • lua β€” Lua
    • magiksf β€” MagikSF
    • mapbasic β€” MapBasic
    • matlab β€” Matlab M
    • mpasm β€” Microchip Assembler
    • reg β€” Microsoft Registry
    • mirc β€” mIRC Scripting
    • mmix β€” MMIX
    • modula2 β€” Modula-2
    • modula3 β€” Modula-3
    • m68k β€” Motorola 68000 Assembler
    • mxml β€” MXML
    • mysql β€” MySQL
    • newlisp β€” newlisp
    • nsis β€” NSIS
    • oberon2 β€” Oberon-2
    • objc β€” Objective-C
    • ocaml β€” OCaml
    • ocaml-brief β€” OCaml (brief)
    • pf β€” OpenBSD Packet Filter
    • oobas β€” OpenOffice.org Basic
    • oracle8 β€” Oracle 8 SQL
    • oracle11 β€” Oracle 11 SQL
    • oxygene β€” Oxygene (Delphi Prism)
    • oz β€” OZ
    • pascal β€” Pascal
    • pcre β€” PCRE
    • per β€” per
    • perl β€” Perl
    • perl6 β€” Perl 6
    • php β€” PHP
    • php-brief β€” PHP (brief)
    • pic16 β€” PIC16
    • pike β€” Pike
    • pixelbender β€” Pixel Bender 1.0
    • plsql β€” PL/SQL
    • text β€” Plain Text
    • postgresql β€” PostgreSQL
    • povray β€” POVRAY
    • powerbuilder β€” PowerBuilder
    • powershell β€” PowerShell
    • progress β€” Progress
    • prolog β€” Prolog
    • properties β€” PROPERTIES
    • providex β€” ProvideX
    • purebasic β€” PureBasic
    • python β€” Python
    • q β€” q/kdb+
    • qbasic β€” QBasic/QuickBASIC
    • rsplus β€” R / S+
    • rails β€” Rails
    • rebol β€” REBOL
    • robots β€” robots.txt
    • rpmspec β€” RPM Specification File
    • ruby β€” Ruby
    • sas β€” SAS
    • scala β€” Scala
    • scheme β€” Scheme
    • scilab β€” SciLab
    • sdlbasic β€” sdlBasic
    • smalltalk β€” Smalltalk
    • smarty β€” Smarty
    • sql β€” SQL
    • systemverilo β€” SystemVerilog
    • tsql β€” T-SQL
    • tcl β€” TCL
    • teraterm β€” Tera Term Macro
    • thinbasic β€” thinBasic
    • typoscript β€” TypoScript
    • unicon β€” Unicon (Unified Extended Dialect)
    • idl β€” Uno Idl
    • vala β€” Vala
    • vbnet β€” vb.net
    • verilog β€” Verilog
    • vhdl β€” VHDL
    • vim β€” Vim Script
    • vb β€” Visual Basic
    • visualfoxpro β€” Visual Fox Pro
    • visualprolog β€” Visual Prolog
    • whitespace β€” Whitespace
    • whois β€” Whois (RPSL format)
    • winbatch β€” Winbatch
    • xpp β€” X++
    • xbasic β€” XBasic
    • xml β€” XML
    • xorg_conf β€” Xorg configuration
    • z80 β€” ZiLOG Z80 Assembler
  • -e EXPIRE β€” how long the paste will be stored on the server ⏳. default is 30 minutes, and the possible values are:
    • 30 β€” 30 Minutes
    • 60 β€” 1 Hour
    • 360 β€” 6 Hours
    • 720 β€” 12 Hours
    • 1440 β€” 1 Day
    • 10080 β€” 1 Week
    • 40320 β€” 1 Month
    • 151200 β€” 3 Months
    • 604800 β€” 1 Year
    • 1209600 β€” 2 Years
    • 1814400 β€” 3 Years
    • 0 β€” Never
  • -s SCHEMA β€” what schema should be used for pasting πŸ”. default is https, and the possible values are:
    • http β€” use http
    • https β€” use https

🌸 EXAMPLES 🌸

how to post a list of your usb devices (obsessed with this one honestly):

lsusb -v | TITLE="My usb devices" NICK="Geeko" susepaste
lsusb -v | susepaste -t "My usb devices"  -n "Geeko"

how to post a susepaste that will last six hours:

susepaste -t "openSUSE paste" -e "360" -f "bash" `which susepaste`

how to post an image that will last three hours:

susepaste -t "openSUSE image" -e "180" -f "image" example.png
πŸ” ngl, peep that the examples use -e "360" for six hours and -e "180" for "three hours" β€” that's what's written in the page, so that's what you get, bestie. copy at your own risk πŸ’€

Copyright (C) 2010 by Michal Hrusecky <Michal@Hrusecky.net>

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.


πŸ’œ AUTHORS πŸ’œ

Michal Hrusecky <Michal@Hrusecky.net>


and that's the whole page, babes 🧚 this was SUSEPaste 0.5, dated April 2011 β€” yes, 2011, she's a vintage icon and she still eats πŸ’…βœ¨

πŸ“¦ where this page comes from