Skip to content
wraithan edited this page Sep 13, 2010 · 9 revisions

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
    -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

    -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 "".
Language defaults to “Plain Text”.
Nick defaults to your current username.

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

DEFAULT_NICK = os.getenv("USER")
DEFAULT_LANGUAGE = "Plain Text"
DEFAULT_SERVICE = "codepad"
-- Valid services are ca, dpaste, codepad, fpaste, mystic
Clone this wiki locally