mvdir(8) CLIX mvdir(8)
NAME
mvdir - Moves a directory
SYNOPSIS
/etc/mvdir dirname name
DESCRIPTION
The mvdir command moves directories within a file system. The dirname
must be a directory. If name does not exist, it will be created as a
directory. If name does exist, dirname will be created as name/dirname.
The dirname and name arguments may not be on the same path; that is, one
may not be subordinate to the other. For example,
mvdir x/y x/z
is legal, but
mvdir x/y x/y/z
is not.
EXAMPLES
mvdir $home/dir1 $home/dir2
CAUTIONS
Only the superuser can use mvdir.
DIAGNOSTICS
mvdir: Cannot move!
EXIT VALUES
The mvdir command exits with a value of 0 if successful and a value of 1
or 2 if an error occurs.
RELATED INFORMATION
Commands: mkdir(1), mv(1)
2/94 - Intergraph Corporation 1