2022-02-14 03:22:51 +01:00
|
|
|
---
|
|
|
|
title: mkdir
|
|
|
|
layout: command
|
|
|
|
version: 0.59.0
|
|
|
|
---
|
|
|
|
|
2021-05-30 02:57:04 +02:00
|
|
|
Make directories, creates intermediary directories as required.
|
|
|
|
|
2022-02-14 03:22:51 +01:00
|
|
|
## Signature
|
2021-05-30 02:57:04 +02:00
|
|
|
|
2022-02-14 03:22:51 +01:00
|
|
|
```> mkdir ...rest --show-created-paths```
|
2021-05-30 02:57:04 +02:00
|
|
|
|
2022-02-14 03:22:51 +01:00
|
|
|
## Parameters
|
2021-05-30 02:57:04 +02:00
|
|
|
|
2022-02-14 03:22:51 +01:00
|
|
|
- `...rest`: the name(s) of the path(s) to create
|
|
|
|
- `--show-created-paths`: show the path(s) created.
|
2021-05-30 02:57:04 +02:00
|
|
|
|
2022-02-20 02:13:33 +01:00
|
|
|
## Examples
|
|
|
|
|
|
|
|
Make a directory named foo
|
|
|
|
```shell
|
|
|
|
> mkdir foo
|
|
|
|
```
|
|
|
|
|
|
|
|
Make multiple directories and show the paths created
|
|
|
|
```shell
|
|
|
|
> mkdir -s foo/bar foo2
|
|
|
|
```
|