nushell/docs/commands/path_expand.md
JT 8c0a2d3c15
Auto-generate markdown command docs (#4451)
* Finish updating

* a couple improvements

* Update renames

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

524 B

title layout version
path expand command 0.59.0

Try to expand a path to its absolute form

Signature

> path expand --strict --columns

Parameters

  • --strict: Throw an error if the path could not be expanded
  • --columns {table}: Optionally operate by column path

Examples

Expand an absolute path

> '/home/joe/foo/../bar' | path expand

Expand a path in a column

> ls | path expand -c [ name ]

Expand a relative path

> 'foo/../bar' | path expand