diff options
author | Linus Groh <mail@linusgroh.de> | 2020-04-27 13:08:14 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-04-28 09:36:09 +0200 |
commit | 8f2300afb5cae00595126ee9119a6f47c6e20b17 (patch) | |
tree | 3b3b441d71594422f1382023e0f67988bc43dd3e /Base/usr/share/man | |
parent | cd81aa41f0d00c865a9fa0df77010cd02a5f9810 (diff) | |
download | serenity-8f2300afb5cae00595126ee9119a6f47c6e20b17.zip |
mkdir: Add -p option to create parent directories
Diffstat (limited to 'Base/usr/share/man')
-rw-r--r-- | Base/usr/share/man/man1/mkdir.md | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Base/usr/share/man/man1/mkdir.md b/Base/usr/share/man/man1/mkdir.md index 0755cb941a..c50befaefb 100644 --- a/Base/usr/share/man/man1/mkdir.md +++ b/Base/usr/share/man/man1/mkdir.md @@ -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 |