[ale] bash/korm mkdirs
Danny Cox
danscox at mindspring.com
Thu Sep 11 17:35:15 EDT 2003
Moisey,
On Thu, 2003-09-11 at 09:23, Oysgelt, Moisey G [GMG] wrote:
> I decided to write a shell function mkdirs.
> To create multiple level directories in on pass.
> I found this very useful, and I could not goggled it.
>
> so I used cigwin to wrote next script
Not to burst your bubble, but standard 'mkdir' has an argument '-p'
which will do exactly what you wish.
mkdir -p ./a/b/c/d/e/f/g/h/i/j/k
I don't know if the cygwin mkdir will do that or not, but I suspect it
will.
--
kernel, n.: A part of an operating system that preserves the
medieval traditions of sorcery and black art.
Danny
More information about the Ale
mailing list