nushell/docs/commands/mkdir.md

455 B

title layout version
mkdir command 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

> mkdir foo

Make multiple directories and show the paths created

> mkdir -s foo/bar foo2