Manual pages › System administration commands (1M)
mvdir(1M)
move a directory
From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.
NAME
mvdir - move a directory
SYNOPSIS
/usr/sbin/mvdir dirname name
DESCRIPTION
mvdir moves directories within a file system. dirname must be a directory. If name does not exist, it will be created as a directory. If name does exist, and is a directory, dirname will be created as name/dirname. dirname and name 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.
SEE ALSO
mkdir(1), mv(1) in the User's Reference Manual.
WARNINGS
Only the super-user can use mvdir.