rlx-attach(3) -- attachment commands
====================================

## SYNOPSIS

Commands for operating on document attachments.

## COMMANDS

Attachment commands require that a database and document are selected.

* `attach [file] [name] [mimetype]`:

Attach a file to the selected document, the file must exist. If name is not specified the name of the file is used.

* `attach files [file...]`:

Attach multiple files to the selected document. The glob patterns `*` and `**` are supported for directory paths, otherwise if a file is a directory a warning is printed. To include hidden files in glob patterns set the `dotglob` setting to `true`.

This command will print a list of the files found to attach and prompt for confirmation.

* `attach get [name...]`:

Download attachment(s) to the directory defined by the `attachments` setting.

* `attach rm [name...]`:

Delete one or more attachments by name.

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