mkdir: recursive alternative?

Robert Dailey rcdailey at gmail.com
Thu Jul 17 18:56:39 UTC 2008


Hi,

I'm trying to use mkdir to create something like:

/foo/blah/bar/something

However, 'foo', 'blah', and 'bar' are not guaranteed to exist, so I
need mkdir to recursively create the directories that are not there.
Is there a way to do this? I did a lot of searching on google but I
came up with nothing. Thanks.




More information about the ubuntu-users mailing list