debpaste - http://paste.debian.net/ XML-RPC client
debpaste ACTION [OPTIONS] [CODE|ID]
Usage: debpaste add [OPTIONS] [CODE]
Adds a new paste to http://paste.debian.net/. If no code is given on the command line, it will read from stdin.
Your paste infos are saved to ~/.debpaste.history
Usage: debpaste del [OPTIONS] ID
Deletes paste with id ID. This must be an ID which you have pasted before (and is in your history file)
Usage: debpaste get [OPTIONS] ID
Fetches the paste with id ID from http://paste.debian.net. To
downloada paste use something like
debpaste get --noheader ID > OUTFILE
Usage: debpaste lang [OPTIONS]
Dumps the list of available languages for syntax highlighting, use the --lang=LANG option when adding a paste.
Usage: debpaste edit [OPTIONS] ID
Downloads the paste with id ID, spawns an editor, and sends the edited file as new paste.
Usage: debpaste expire [OPTIONS] [ID]
Removes the entry ID from history file. If no ID is given it removes all entries which are expired.
paste as USERNAME instead of
use URL instead of http://paste.debian.net/server.pl
post as hidden entry
do not use the http proxy given in the environment variable
use LANG for syntax highlight ('debpaste lang' for available languages)
expires in SEC seconds (default: 259200 = 72h)
when adding new paste, use ENC as encoding of file, default: UTF-8
when getting entries, don't print header, just dump the paste to stdout.
print version and exit
The right place for setting default options like the username or expire values. Format is
KeyInAnYCase: value, example:
User: Vetinari Expires: 86400
All info about pastes done with debpaste are recorded here. This file is used to keep a record for deleting entries after pasting. Use debpaste expire to remove old entries.
debpaste at Rev. 20
Hanno Hecker <email@example.com>