Quote:
Originally Posted by sravanth.svk
Hi every one,
I would like to know that is there any option to simplify
The usage of -p option in mkdir command
Ex:- mkdir -p dir1/sdir1 dir1/sdir2 dir1/sdir3 dir1/sdir1/csdir1 dir1/sdir1/csdir2
It might even extend on requirement so it would be better to have a bit simplified command using whilchord characters or any other thing
Thanking you all
sravanth.svk
|
You could conceivably write a wrapper that takes the to
be newly created dir1 as the first parameter, and omit it
in the following .... but that's as good as it gets because the
script can't conceivably know on which level to create which
directory.
Cheers,
Tink