*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> mvdir (1)              
Title
Content
Arch
Section
 

mvdir(1)

Contents


NAME    [Toc]    [Back]

       mvdir - Moves (renames) a directory

SYNOPSIS    [Toc]    [Back]

       mvdir directory1 directory2

DESCRIPTION    [Toc]    [Back]

       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 subdirectory of directory1.

       Directories cannot be moved across file systems.

       You can also rename a directory with the mv command.

NOTES    [Toc]    [Back]

       This command was made obsolete by the mv command.

EXAMPLES    [Toc]    [Back]

       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    [Toc]    [Back]

      
      
       Commands:  mkdir(1), mv(1)

       Functions:  rename(2)



                                                         mvdir(1)
[ Back ]
 Similar pages
Name OS Title
tsarchive IRIX renames log file
pxfrename IRIX Renames a file
rename Linux renames multiple files
mv Tru64 Moves files and directories
switchlog Tru64 moves an AdvFS file domain transaction log
winpop IRIX moves the current graphics window in front of all other windows
uiomove Tru64 General: Moves data between user and system virtual space
updmv Tru64 Moves customized, user, and inventory data files to or from storage.
winmove IRIX moves the current graphics window by its lower-left corner
lndir Tru64 create a shadow directory of symbolic links to another directory tree
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service