DBUPGRADE(1)

NAME
dbupgrade — a program to upgrade BRL-CAD mged geometry databases files to the current version.

SYNOPSIS
dbupgrade input.g output.g

DESCRIPTION
dbupgrade operates on the indicated input geometry database input.g recognizing the version of the BRL-CAD database provided as input and then converting it to the current database version. Output is then saved to the specified output.g file.

Note that this tool does not automatically ``fix'' an existing (v4 format) binary database that was transferred from a binary-incompatible platform. However, if you run dbupgrade on the file before transferring from that platform, the upgraded output file will be platform independent.

Running dbupgrade removes the need to run g2asc(1) and asc2g(1) on a database. The latest BRL-CAD geometry database format is platform independent.

SEE ALSO
mged(1), g2asc(1), asc2g(1).

DIAGNOSTICS
Numerous error conditions are possible, usually due to errors in the geometry database. Descriptive messages are printed on standard error (file descriptor 2).

BUG REPORTS
Reports of bugs or problems should be submitted via electronic mail to <devs@brlcad.org>.