Make Various Directories Recursively (in English)

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:

$ mkdir test
$ cd test
/test $ mkdir maria
/test $ cd maria
/test/maria $ mkdir manuel
/test/maria $ cd manuel
/test/maria/manuel $

Or, you can do it with the -p option:

 
$ mkdir -p test/maria/manuel

In Portuguese: Fazer Directórios uns Dentro dos Outros

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Sign up or Log in to add a comment or watch this page.


The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

© 2010, Oracle Corporation and/or its affiliates
Powered by Atlassian Confluence
Oracle Social Media Participation Policy Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact