PASTER(1) - General Commands Manual

NAME

paster - simple paste service client

SYNOPSIS

paster [-LDvx] [-a author] [-l language] [-d duration] [-t title] filename host

DESCRIPTION

The paster tool is the convenient brother to pasterd, it will paste some content into an instance.

The filename argument can points to a file whose content will be pasted, if it is set to “-” then standard input is read instead.

The host argument is a URL where a pasterd instance is running.

Available options:

-L

List all supported languages.

-D

List all supported durations.

-v

Be more verbose.

-x

Store the paste as private.

-a author

Sets the author, defaults to “Anonymous”.

-l language

Sets the code snippet language, defaults to “nohighlight”.

-d duration

Sets the paste lifetime, defaults to “month”.

-t title

Sets a title to the paste, defaults to “Untitled”.

EXAMPLES

Paste the main.sh script shell with a title and an author.

paster -t "Some shell script" -a Francis -l shell main.sh http://example.org

Read standard input and paste it.

grep error logs.txt | paster - http://example.org

Paste a non-listed file with a short duration.

paste -x -d hour private.txt http://example.org

AUTHORS

paster was written by David Demelier <markand@malikania.fr>

SEE ALSO

pasterd(8)

macOS 13.5 - 06 February, 2020