1
0
mirror of https://github.com/nushell/nushell.git synced 2025-05-19 09:20:45 +02:00
nushell/docs/commands/path_split.md
JT 8c0a2d3c15
Auto-generate markdown command docs ()
* Finish updating

* a couple improvements

* Update renames

* cleanup examples
2022-02-13 21:22:51 -05:00

413 B

title layout version
path split command 0.59.0

Split a path into parts by a separator.

Signature

> path split --columns

Parameters

  • --columns {table}: Optionally operate by column path

Examples

Split a path into parts

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

Split all paths under the 'name' column

> ls ('.' | path expand) | path split -c [ name ]