up | Inhaltsverzeichniss | Kommentar

Manual page for MKDIRS(1)

mkdirs - make directories

SYNOPSIS

mkdirs [ -o owner ] [ -g group ] [ -m mode ] dir_paths

DESCRIPTION

Mkdirs creates the directories specified in each dir_path, and optionally sets owner, group, and mode for the created directories. Mkdirs requires write permission in the parent directory.

Unlike mkdir, mkdirs creates all non-existent directories specified in each dir_path. For example, the following command creates both new-dir-1 and new-dir-2:

mkdirs ~/new-dir-1/new-dir-2

The mode of the created directories is determined by the value of the mode argument, which may be absolute or symbolic (see chmod(1) for the correct syntax), or by the current umask(2) value if no mode argument is specified. Only modes of directories created by mkdirs are affected; modes of existing directories specified in the dir_path do not change.

SEE ALSO

mkdir(1), rmdir(1), chmod(1), umask(2)


index | Inhaltsverzeichniss | Kommentar

Created by unroff & hp-tools. © somebody (See intro for details). All Rights Reserved. Last modified 11/5/97