man pages section 1M: System Administration Commands
只搜尋這本書
以 PDF 格式下載這本書 (9905 KB)

mvdir(1M)

Name | Synopsis | Description | Operands | Usage | Exit Status | Attributes | See Also

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 TYPE

    ATTRIBUTE VALUE

    Availability

    SUNWcsu

See Also

SunOS 5.11 Last Revised 14 Mar 1997

Name | Synopsis | Description | Operands | Usage | Exit Status | Attributes | See Also