MVDIR(1) HP-UX 5.0 MVDIR(1) NAME mvdir - move a directory SYNOPSIS /etc/mvdir dirname name HP-UX MODEL POSITION Large Machine SVID DESCRIPTION Mvdir moves and/or renames directories within a file system. Dirname must be a directory; name must not exist. Neither name may be a sub-set of the other (/x/y cannot be moved to /x/y/z, nor vice versa). The directory specified by name cannot be a subdirectory of that specified by dirname. The directory specified by dirname may be a subdirectory of that specified by name, but the notations . and .. must be used in naming the directories, because mvdir does not allow the names of the directories to have the property that one is a subdirectory of the other. Only the super-user can use mvdir. SEE ALSO mkdir(1). BUGS The restriction on names is intended to prevent creation of a (cyclic) sub-tree that cannot be reached from the root. The test is strictly by name, thus creating such a sub-tree is still possible. The super-user is cautioned to be very careful in his use of the names . and .. while moving directories.