Hi,
In mail "Re: mkdir -p"
"Peñá, Botp" <botp / delmonte-phil.com> wrote:
> I see that FileUtils already has mkdir. Is it possible to include an option
> like -p for FileUtils.mkdir, like :recurse => true or :parents => true
> perhaps?
I think different operations should be mapped on different methods.
That is the reason why both of #mkdir and #mkdir_p exist. I used
UNIX command name analogy, but FileUtils is not a UNIX command
(mkdir(1) does not have --noop option).
In addition, Perl has two separate functions, mkdir and mkpath.
Regards,
Minero Aoki