2 .\" Copyright 1989 AT&T Copyright (c) 1997, Sun Microsystems, Inc. All Rights Reserved
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH MVDIR 8 "Mar 14, 1997"
8 mvdir \- move a directory
12 \fB/usr/sbin/mvdir\fR \fIdirname\fR \fIname\fR
18 \fBmvdir\fR moves directories within a file system. \fBdirname\fR must be a
19 directory. If \fIname\fR does not exist, it will be created as a directory. If
20 \fIname\fR does exist, and is a directory, \fBdirname\fR will be created as
21 \fIname/dirname\fR. \fBdirname\fR and \fIname\fR may not be on the same path;
22 that is, one may not be subordinate to the other. For example:
25 \fBexample%\fR \fBmvdir\fR \fBx/y\fR \fBx/z\fR
31 \fBexample%\fR \fBmvdir\fR \fBx/y\fR \fBx/y/z\fR
42 The name of the directory that is to be moved to another directory in the
52 The name of the directory into which \fBdirname\fR is to be moved. If
53 \fIname\fR does not exist, it will be created. It may not be on the same path
60 See \fBlargefile\fR(5) for the description of the behavior of \fBmvdir\fR when
61 encountering files greater than or equal to 2 Gbyte ( 2^31 bytes).
84 \fBmkdir\fR(1), \fBmv\fR(1), \fBattributes\fR(5), \fBlargefile\fR(5)