Creates a hierarchy of directories or a single directory.
mkdirhier Directory ...
The mkdirhier command creates the specified directories. Unlike the mkdir command, if any of the parent directories of the specified directory do not exist, the mkdirhier command creates those directories as well as the specified directory.
To create a directory named foo2 or to create a hierarchy of directories named foo, foo1, and foo2, enter:
mkdirhier ~/foo/foo1/foo2
If foo and foo1 already exist then the command creates foo2. However, if none of them exist then the command creates all three new directories.
The mkdir command.