!http://www.sun.com/bigadmin/home/images/bigadminHeaderWikiThumb.jpg!
{section:border=false}
{column:width=20%}
{include:TOC for Tech Tips}
{column}
{column:width=55%}
h2. Make various directories recursively
Nuno Rocha, May 2009
Simplify the creation of various directories inside one another, in one command. You can do it like this:
{code}
$ mkdir test
$ cd test
/test $ mkdir maria
/test $ cd maria
/test/maria $ mkdir manuel
/test/maria $ cd manuel
/test/maria/manuel $
{code}
Or, you can do it with the *-p* option:
{code}
$ mkdir -p test/maria/manuel
{code}
In Portuguese: [Fazer Directórios uns Dentro dos Outros|http://wikis.sun.com/pages/viewpage.action?pageId=112591433]
{column}
{section}
{section:border=false}
{column:width=20%}
{include:TOC for Tech Tips}
{column}
{column:width=55%}
h2. Make various directories recursively
Nuno Rocha, May 2009
Simplify the creation of various directories inside one another, in one command. You can do it like this:
{code}
$ mkdir test
$ cd test
/test $ mkdir maria
/test $ cd maria
/test/maria $ mkdir manuel
/test/maria $ cd manuel
/test/maria/manuel $
{code}
Or, you can do it with the *-p* option:
{code}
$ mkdir -p test/maria/manuel
{code}
In Portuguese: [Fazer Directórios uns Dentro dos Outros|http://wikis.sun.com/pages/viewpage.action?pageId=112591433]
{column}
{section}