1
0
mirror of https://github.com/nushell/nushell.git synced 2025-06-30 22:50:14 +02:00
Files
nushell/docs/commands/path_expand.md
Justin Ma c0a1d18e3d update , regenerate commands' docs and update make_docs script ()
* feat: update , regenerate commands' docs

* chore: update make_docs script
2022-02-21 11:26:00 -06:00

523 B

title, layout, version
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