mvdir man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

mvdir(1)							      mvdir(1)

NAME
       mvdir - Moves (renames) a directory

SYNOPSIS
       mvdir directory1 directory2

DESCRIPTION
       The  mvdir  command  renames  directories  within a file system. To use
       mvdir, you must have write permission to directory1 and directory2  and
       to  the parent directories of directory1 and directory2. The directory1
       argument must name an existing directory. If directory2 does not exist,
       directory1  is  moved  to directory2.  If directory2 exists, directory1
       becomes a subdirectory of directory2.  directory2 cannot be a subdirec‐
       tory of directory1.

       Directories cannot be moved across file systems.

       You can also rename a directory with the mv command.

NOTES
       This command was made obsolete by the mv command.

EXAMPLES
       To  rename  or  move  a	directory  to  another	location, enter: mvdir
       appendixes manual

       If manual does not exist, then this renames the directory appendixes to
       manual.

       If  a  directory named manual already exists, this moves appendixes and
       its contents to manual/appendixes.  In other words, appendixes  becomes
       a subdirectory of manual.

SEE ALSO
       Commands:  mkdir(1), mv(1)

       Functions:  rename(2)

								      mvdir(1)
[top]

List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net