privatebin1
Manage privatebin pastes with simple shell command
Usage
privatebin [{-h | --help}]
[{-v | --version}]
[--bin=<name>]
Overview
A minimalist, open source command line interface for PrivateBin instances.
Options
-
-h, --help -
Show help message.
- -v, –version
-
Prints the privatebin cli version.
-
-b, --bin <name> -
The privatebin instance name.
-
-c, --config <path> -
The path of the configuration file (default “~/.config/privatebin/config.json”).
-
-H, --header <key=value> -
The extra HTTP header fields to include in the request sent.
-
-o, --output <format> -
The output format can be "" or "json" (default "").
Commands
|
Create a paste |
|---|---|
|
Show a paste |
Exit status
The privatebin utility exits 0 on success, and >0 if an error occurs.
Examples
Create a paste on the default privatebin instance:
-
$ cat example.txt | privatebin create