## Name

dbconcat — Concatenates an existing BRL-CAD database to the database currently being edited.

## Synopsis

`dbconcat` {`database_file`} [`prefix`]

## DESCRIPTION

Concatenates an existing BRL-CAD database to the database currently being edited. If a prefix is supplied, then all objects from the database_file will have prefix added to the beginning of their names. Note that each BRL-CAD object must have a unique name, so care must be taken not to "dbconcat" a database that has objects with names the same as objects in the current database. The dup command may be used to check for duplicate names. If the dup command finds duplicate names, use the prefix option to both the dup and dbconcat commands to find a prefix that produces no duplicates. If duplicate names are encountered during the "dbconcat" process, computer-generated prefixes will be added to the object names coming from the database_file (but member names appearing in combinations will not be modified, so this is a dangerous practice and should be avoided).

## EXAMPLES

The example shows the use of the dbconcat command to copy all objects in a particular database to the current database. It also shows how to add a particular prefix to every object copied.

Example 1. Copy objects in a specified database to the current one and add a prefix to all the copied objects.

`mged>` `dbconcat model_two.g two_`

Copies all the objects in model_two.g to the current database, but prefixes the name of every object copied with the string two_.

## AUTHOR

BRL-CAD Team

## BUG REPORTS

Reports of bugs or problems should be submitted via electronic mail to <devs@brlcad.org>, or via the "cadbug.sh" script.