Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
System Administration Commandsmvdir(1M)


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:

example% mvdir x/y x/z

is legal, but

example% mvdir x/y x/y/z

is not.

OPERANDS

 
dirname
The name of the directory that is to be moved to another directory in the filesystem.
name
The name of the directory into which dirname is to be moved. If name does not exist, it will be created. It may not be on the same path as dirname.

USAGE

 

See largefile(5) for the description of the behavior of mvdir when encountering files greater than or equal to 2 Gbyte ( 231 bytes).

EXIT STATUS

 
0
Successful operation.
>0
Operation failed.

ATTRIBUTES

 

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
AvailabilitySUNWcsu

SEE ALSO

 

mkdir(1), mv(1), attributes(5), largefile(5)


SunOS 5.9Go To TopLast Changed 14 Mar 1997

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.