rlx-bulk(3) -- bulk document commands
=====================================

## SYNOPSIS

Commands for operating on bulk documents.

## COMMANDS

Bulk document commands require that a database and document are selected.

In order to determine whether a document is being added or updated this
command first issues a head request for each id specified, if the document
exists it is considered an update and fetched so that it can be injected in
the template.

If a document does not exist the *doc* template is used for the new document.

If a document id is specified to the `rm` command that does not exist then a
warning is printed otherwise the *deleted* template is used.

* `bulk add [id...]`:

Add or update documents in bulk.

* `bulk rm [id...]`:

Delete documents in bulk.

## BUGS

**rlx** is written in bash and depends upon `bash >= 4.2`.

## COPYRIGHT

**rlx** is copyright (c) 2013 muji <http://xpm.io>

## SEE ALSO

rlx(1), couchdb(3)


[SYNOPSIS]: #SYNOPSIS "SYNOPSIS"
[COMMANDS]: #COMMANDS "COMMANDS"
[BUGS]: #BUGS "BUGS"
[COPYRIGHT]: #COPYRIGHT "COPYRIGHT"
[SEE ALSO]: #SEE-ALSO "SEE ALSO"


[rlx-alias(3)]: rlx-alias.3.html
[rlx-attach(3)]: rlx-attach.3.html
[rlx-auth(3)]: rlx-auth.3.html
[rlx-bulk(3)]: rlx-bulk.3.html
[rlx-config(3)]: rlx-config.3.html
[rlx-db(3)]: rlx-db.3.html
[rlx-debug(3)]: rlx-debug.3.html
[rlx-design(3)]: rlx-design.3.html
[rlx-doc(3)]: rlx-doc.3.html
[rlx-external(3)]: rlx-external.3.html
[rlx-page(3)]: rlx-page.3.html
[rlx-repl(3)]: rlx-repl.3.html
[rlx-server(3)]: rlx-server.3.html
[rlx-settings(3)]: rlx-settings.3.html
[rlx-tpl(3)]: rlx-tpl.3.html
[rlx(1)]: rlx.1.html
