Element: <mkdir>

Syntax


<!ELEMENT mkdir          (option?, name+, permissions?)>
<!ATTLIST mkdir
          base           CDATA #IMPLIED>

This element occurs in the elements : Element : <alfs> | Element: <stage>

See also : Element: <option> | Element: <name> | Element: <permissions>

Description

The element mkdir is one of the many main operation elements. It describes the creation of one (or several) directory(ies).

The sub-element option FILL IN HERE.

The sub-elements name contains the name(s) of the directory(ies) to be created.

The sub-element permissions FILL IN HERE.

The attribute base gives the name of the directory in which the new directory will be created.

The only option supported is "parents". When specified, the parents directories are created as needed.

Examples

<mkdir base="/usr/local/lib">
        <option>parents</option>
        <name>X11</name>
</mkdir>

The equivalent bash script is :

cd /usr/local/lib
echo Making directory X11
mkdir -p X11