Skip to content

Latest commit

 

History

History
90 lines (50 loc) · 1.77 KB

nopaste.1.pod

File metadata and controls

90 lines (50 loc) · 1.77 KB

NAME

nopaste - command-line interface to pastebin.com

SYNOPSIS

nopaste [options] [file]

DESCRIPTION

Nopaste is a command-line tool for http://pastebin.com. Like most UNIX utilities, it can take stdin or files on the command-line. Additionally nopaste can use the X cut buffer for input, designed to be used with a window-manager key binding or panel launcher.

The resulting URLs are printed to stdout and also placed in the X cut buffer for middle-click pasting.

OPTIONS

--diff

Return diff URL (with --parent or multiple files)

--download

Return download URL

-e --expire WHEN

Set expiry day/month/forever, defaults to forever.

--help

Show usage help

--help-lang

Show list of languages understood by http://pastebin.com

-l --language LANG

Set language, defaults to text. Note this is the internal form value. Use --help-lang to see the list of possibilities.

-n --nick USER

Set nick (honors $PASTEBIN_USER, falls back to $USER)

-p --parent PID

Set parent paste id, for diffs. If multiple files are specified on the command-line, the parent paste id is set automatically to create a chain of diffs.

--private STR

Use a private pastebin

-x --xcut

Paste from X selection (requires xclip or xcut)

--version

Show version info

ENVIRONMENT

PASTEBIN_URL

Override default http://pastebin.com/pastebin.php. Probably unwise.

PASTEBIN_USER

Set default nick. It's probably unnecessary to set this since nopaste will default to $USER

AUTHOR

Nopaste was written by Aron Griffis mailto:[email protected]. It lives at http://agriffis.n01se.net/nopaste/.