NAME
debpaste - http://paste.debian.net/ XML-RPC client
SYNOPSIS
debpaste ACTION [OPTIONS] [CODE|ID]
ACTIONS
- add
-
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
- del
-
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)
- get
-
Usage: debpaste get [OPTIONS] ID
Fetches the paste with id ID from http://paste.debian.net. To
downloada paste use something likedebpaste get --noheader ID > OUTFILE
- lang
-
Usage: debpaste lang [OPTIONS]
Dumps the list of available languages for syntax highlighting, use the --lang=LANG option when adding a paste.
- edit
-
Usage: debpaste edit [OPTIONS] ID
Downloads the paste with id ID, spawns an editor, and sends the edited file as new paste.
- expire
-
Usage: debpaste expire [OPTIONS] [ID]
Removes the entry ID from history file. If no ID is given it removes all entries which are expired.
OPTIONS
- --user=USERNAME
-
paste as USERNAME instead of
anonymous - --server=URL
-
use URL instead of http://paste.debian.net/server.pl
- --noproxy
-
do not use the http proxy given in the environment variable
http_proxy - --lang=LANG
-
use LANG for syntax highlight ('debpaste lang' for available languages)
- --expires=SEC
-
expires in SEC seconds (default: 259200 = 72h)
- --encoding=ENC
-
when adding new paste, use ENC as encoding of file, default: UTF-8
- --noheader
-
when getting entries, don't print header, just dump the paste to stdout.
- --version
-
print version and exit
FILES
- ~/.debpaste.rc
-
The right place for setting default options like the username or expire values. Format is
KeyInAnYCase: value, example:User: Vetinari Expires: 86400
- ~/.debpaste.history
-
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.
DOWNLOAD
http://ankh-morp.org/code/paste-dn/debpaste or SVN
NOTES
Renamed to debpaste at Rev. 20
AUTHOR
Hanno Hecker <vetinari@ankh-morp.org>




