Scroll to navigation

PRIVATEBIN-CREATE(1) Privatebin Manual PRIVATEBIN-CREATE(1)

NAME

privatebin-create – create a paste

SYNOPSIS

privatebin create [-h | -help] [--burn-after-reading] [--expire=<time>]

                  [--formatter=<format>] [--open-discussion]

                  [--password=<password>] [--gzip] [--attachment]

                  [--filename=<filename>] [message] STDIN

DESCRIPTION

Create paste. When used with --attachment, an optional positional argument can be provided to include a text message alongside the attachment.

OPTIONS

Show help message.
Delete the paste after reading.
The time to live of the paste.
The text formatter to use, can be plaintext, markdown or syntaxhighlighting.
Enable discussion on the paste.
Add password on the paste.
Create the paste as an attachment.
Open and read filename instead of stdin.
GZip the paste data.

EXAMPLES

Create a paste on the default privatebin instance:

$ cat example.txt | privatebin create
    

Create an attachment with an accompanying message:

$ privatebin create --attachment --filename example.txt "Here is the document"
    

SEE ALSO

privatebin.conf(5)

AUTHORS

Bryan Frimin.

February 15, 2026 2.2.1