nushell/docs/commands/path-split.md
Fernando Herrera dbcadbc12c moved folders
2022-02-07 19:23:12 +00:00

395 B

path split

Split a path into parts by a separator.

Usage

> path split ...args {flags} 

Parameters

  • ...args: Optionally operate by column path

Flags

  • -h, --help: Display this help message

Examples

Split a path into parts

> echo '/home/viking/spam.txt' | path split

Split all paths under the 'name' column

> ls | path split name