TP(1)

NAME
tp - tesseras-paste client

SYNOPSIS
tp [-s sock] command [args]

DESCRIPTION
tp is a command-line client for tpd(1), the tesseras-paste daemon. It communicates over a Unix domain socket to store and retrieve encrypted pastes on the tesseras-dht distributed hash table.

The options are as follows:

-s sock
    Path to the Unix domain socket. The default is /var/tesseras-paste/daemon.sock.

The following commands are available:

put [-t ttl] [-p]
    Read standard input and store it as a paste. On success, print the paste key to standard output.

    -t ttl sets the time-to-live for the paste. The value can be suffixed with ‘h’ for hours, ‘m’ for minutes, or ‘s’ for seconds. A bare number is interpreted as seconds. The default is “24h”.

    -p stores the paste in public mode without encryption.

get key
    Retrieve the paste identified by key and write its contents to standard output.

del key
    Delete the paste identified by key.

pin key
    Pin the paste so it never expires.

unpin key
    Remove the pin from a paste, allowing it to expire normally.

status
    Display the daemon status.

FILES
/var/tesseras-paste/daemon.sock
    Default Unix domain socket.

EXIT STATUS

EXAMPLES
Store a paste with default TTL:

    $ echo "hello world" | tp put

Retrieve a paste:

    $ tp get key

Store a public paste with a 1-hour TTL:

    $ echo "public data" | tp put -t 1h -p

SEE ALSO
tpd(1)

AUTHORS
Murilo Ijanc <murilo@ijanc.org>