'\" t
.\"     Title: MVALL
.\"    Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL-NS Stylesheets v1.76.1 <http://docbook.sf.net/>
.\"      Date: 08/28/2023
.\"    Manual: BRL-CAD User Commands
.\"    Source: BRL-CAD
.\"  Language: English
.\"
.TH "MVALL" "nged" "08/28/2023" "BRL\-CAD" "BRL\-CAD User Commands"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
mvall \- Changes the name of \fIold_name\fR to \fInew_name\fR wherever it occurs in the database\&.
.SH "SYNOPSIS"
.HP \w'\fBmvall\fR\ 'u
\fBmvall\fR [\fI\-n\fR] [\fI(\-f\ mapping_file)\ |\ (old_name\ new_name)\fR]
.SH "DESCRIPTION"
.PP
Changes the name of
\fIold_name\fR
to
\fInew_name\fR\&. This will also change any references to
\fIold_name\fR
that may occur in other combinations in the database\&. If the
\fI\-f\fR
variation of the command is used, all
\fIold_name\fR
\fInew_name\fR
pairings are read from the
\fImapping_file\fR
and processed as previously stated\&.
.SH "EXAMPLES"
.PP
\fBExample\ \&1.\ \&Change the name of an object everywhere it occurs in the database.\fR
.PP

mged>\fBmvall shapea shapeb\fR
.PP
Changes the name of
\fIshapea\fR
to
\fIshapeb\fR
everywhere it occurs in the database\&.
.PP
\fBExample\ \&2.\ \&This example shows a simple mapping file.\fR
.sp
.if n \{\
.RS 4
.\}
.nf
# this line is a comment
old_name new_name
foo bar # another comment, replacing foo with bar
bad_name good_name
      
.fi
.if n \{\
.RE
.\}
.SH "SEE ALSO"
.PP
mv prefix
.SH "AUTHOR"
.PP
BRL\-CAD Team
.SH "BUG REPORTS"
.PP
Reports of bugs or problems should be submitted via electronic mail to
devs@brlcad\&.org
