[Pdx-pm] mkdir -p ?

Ingy dot Net ingy at ingy.net
Wed Aug 22 14:57:59 PDT 2007

On 22/08/07 11:47 -0700, Keith Lofstrom wrote:
> The dirvish backup script (written in Perl) does a mkdir to make the
> directory where new backups go.  One of the users makes many backups
> per day, and would like to organize those into subtrees.   This
> would be easy if Perl had the equivalent of "mkdir -p ARG" rather
> than just "mkdir ARG". 

Just fyi, IO::All has an assert method.



> I can think of many ways to fake "mkdir -p" (recursive, system call,
> etc.) but there is probably an elegant way to do it.  Suggestions?
> Keith
> -- 
> Keith Lofstrom          keithl at keithl.com         Voice (503)-520-1993
> KLIC --- Keith Lofstrom Integrated Circuits --- "Your Ideas in Silicon"
> Design Contracting in Bipolar and CMOS - Analog, Digital, and Scan ICs
> _______________________________________________
> Pdx-pm-list mailing list
> Pdx-pm-list at pm.org
> http://mail.pm.org/mailman/listinfo/pdx-pm-list

More information about the Pdx-pm-list mailing list