Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Home

Kiwi edited this page · 9 revisions
Clone this wiki locally

Welcome to the curlpaste wiki!

Usage: curlpaste [options] -f [file[s]]

Options:
    -f, --file FILE(s)              list of files to upload
    -s, --service SERVICE           set service to use
    -l, --language LANG             set what language to use
    -e, --expiration EXPIRATION     set when to expire (defaults to 1 day)
    -C, --command COMMAND           run COMMAND and paste the output
    -p, --private                   set private flag if available
    -r, --run                       set run flag (codepad)
    -c, --concat                    concat multiple files into a single upload
                                    default is a separate paste for each file
    -d, --description DESC          set description of paste
    -n, --nick NICK                 set the name to use for a paste
    -h, --help                      show this help info

    -E, --list-expiration SERVICE   list supported expiration times for a service
    -S, --list-services             list supported services
    -L, --list-languages SERVICE    list supported languages for a service
        --stdin                     pipe data into the program

Service defaults to codepad.
Description defaults to the name of the file.
Language defaults to “Plain Text”.
Nick defaults to your current username.

You can change the default Service, Language, Description, and Nick in /etc/curlpaste.conf :

DEFAULT_DESCRIPTION = ""
DEFAULT_NICK = os.getenv("USER")
DEFAULT_LANGUAGE = "Plain Text"
DEFAULT_SERVICE = "codepad"
DEFAULT_EXPIRY = "1 day"
-- Valid services are ca, dpaste, codepad, fpaste, mystic
Something went wrong with that request. Please try again.