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)
