Hi,

Can someone please point me in the right direction ?

In a script I'm trying to write I need to create a new directory.  This new 
directory looks something like /directory/somedir/someotherdir/yetanotherdir.

What I do now is :

    mkdir "$homeDir/directory", 0755";
    mkdir "$homeDir/directory/somedir", 0755";
    mkdir "$homeDir/directory/somedir/someotherdir", 0755";
    mkdir "$homeDir/directory/somedir/someotherdir/yetanotherdir", 0755";

Although this works I think I'm using to much code.  Is there a more 
efficient way to do this ?



Kind regards,



Rene Verharen


Please DO NOT reply to me personally.  I'll get my copy from the list.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to