mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:37:35 +00:00
mkdir: Add -p option to create parent directories
This commit is contained in:
parent
cd81aa41f0
commit
8f2300afb5
2 changed files with 49 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue