<HTML><HEAD><TITLE>Manpage of EMKDIR</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
</HEAD><BODY>
<H1>EMKDIR</H1>
Section: User Contributed Perl Documentation (1)<BR>Updated: 2013-05-22<BR><A HREF="#index">Index</A>
<A HREF="http://confluence.ecmwf.int/display/UDOC/">Return to Main Contents</A><HR>
<A NAME="lbAB"> </A>
<H2>NAME</H2>
emkdir - Creates empty ECFS directories
<A NAME="lbAC"> </A>
<H2>SYNOPSIS</H2>
<A NAME="ixAAC"></A>
emkdir [<I>-p</I>] [<I>-m mode</I>] <I>newdir1</I> [...]
<A NAME="lbAD"> </A>
<H2>DESCRIPTION</H2>
<A NAME="ixAAD"></A>
Create the specified <FONT SIZE="-1">ECFS</FONT> directories.
This operation requires write permission in the parent directory.
<A NAME="lbAE"> </A>
<H2>OPTIONS</H2>
<A NAME="ixAAE"></A>
<DL COMPACT>
<DT>-p<DD>
<A NAME="ixAAF"></A>
creates all the non-existing parent directories first.
<DT>-m<DD>
<A NAME="ixAAG"></A>
specifies the octal mode (file permissions) to be used for <I>newdir1</I>,
as per <I>chmod</I>(1).
</DL>
<A NAME="lbAF"> </A>
<H2>DIAGNOSTICS</H2>
<A NAME="ixAAH"></A>
As with <FONT SIZE="-1">POSIX </FONT><I><A HREF="http://confluence.ecmwf.int/display/UDOC/mkdir">mkdir</A></I>(1), error-handling under <B>-p</B> is generous,
the interpretation being ``make sure this path exists''.
In particular any errors in processing <B>mode</B>
on the target <I>newdir1</I> are ignored.
Its pre-existence is also regarded as success.
<A NAME="lbAG"> </A>
<H2>EXAMPLES</H2>
<A NAME="ixAAI"></A>
<DL COMPACT>
<DT>emkdir ec:olddir/newdir<DD>
<A NAME="ixAAJ"></A>
creates new directory 'newdir' under 'olddir' which must already exist.
<DT>emkdir -p ec:newdir1/newdir2<DD>
<A NAME="ixAAK"></A>
creates newdir2, and also 'newdir1' if necessary.
</DL>
<A NAME="lbAH"> </A>
<H2>SEE ALSO</H2>
<A NAME="ixAAL"></A>
<I><A HREF="http://confluence.ecmwf.int/display/UDOC/ecfs.1">ecfs</A></I>(1), <I><A HREF="http://confluence.ecmwf.int/display/UDOC/ermdir">ermdir</A></I>(1), <I><A HREF="http://confluence.ecmwf.int/display/UDOC/emkdir">emkdir</A></I>(1), <I><A HREF="http://confluence.ecmwf.int/display/UDOC/ermdir">ermdir</A></I>(1)
<P>
<HR>
<A NAME="index"> </A><H2>Index</H2>
<DL>
<DT><A HREF="#lbAB">NAME</A><DD>
<DT><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT><A HREF="#lbAE">OPTIONS</A><DD>
<DT><A HREF="#lbAF">DIAGNOSTICS</A><DD>
<DT><A HREF="#lbAG">EXAMPLES</A><DD>
<DT><A HREF="#lbAH">SEE ALSO</A><DD>
</DL>
<HR>
This document was created by
<A HREF="http://github.com/hamano/man2html/">man2html</A>,
using the manual pages.<BR>
Time: 14:51:58 GMT, July 23, 2018
</BODY>
</HTML>
|