1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:37:35 +00:00

mkdir: Add -p option to create parent directories

This commit is contained in:
Linus Groh 2020-04-27 13:08:14 +01:00 committed by Andreas Kling
parent cd81aa41f0
commit 8f2300afb5
2 changed files with 49 additions and 6 deletions

View file

@ -5,17 +5,21 @@ mkdir - create directories
## Synopsis
```**sh
$ mkdir directories...
$ mkdir [ options...] directories...
```
## Description
Create a new empty directory for each of the given *directories*.
## Options
* `-p`, `--parents`: Create parent directories if they don't exist
## Examples
```sh
$ mkdir /tmp/foo
$ mkdir -p /tmp/foo/bar
```
## See also