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.
Created by unroff & hp-tools. © somebody (See intro for details). All Rights Reserved. Last modified 11/5/97