[Pdx-pm] mkdir -p ?

Keith Lofstrom keithl at kl-ic.com
Wed Aug 22 11:47:03 PDT 2007

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". 

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 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

More information about the Pdx-pm-list mailing list