mirror of
https://github.com/nushell/nushell
synced 2024-12-29 06:23:11 +00:00
28 lines
455 B
Markdown
28 lines
455 B
Markdown
---
|
|
title: mkdir
|
|
layout: command
|
|
version: 0.59.1
|
|
---
|
|
|
|
Make directories, creates intermediary directories as required.
|
|
|
|
## Signature
|
|
|
|
```> mkdir ...rest --show-created-paths```
|
|
|
|
## Parameters
|
|
|
|
- `...rest`: the name(s) of the path(s) to create
|
|
- `--show-created-paths`: show the path(s) created.
|
|
|
|
## Examples
|
|
|
|
Make a directory named foo
|
|
```shell
|
|
> mkdir foo
|
|
```
|
|
|
|
Make multiple directories and show the paths created
|
|
```shell
|
|
> mkdir -s foo/bar foo2
|
|
```
|