nushell/docs/commands/path_exists.md
Justin Ma c0a1d18e3d
update #4455, regenerate commands' docs and update make_docs script (#4586)
* feat: update #4455, regenerate commands' docs

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

375 B

title layout version
path exists command 0.59.0

Check whether a path exists

Signature

> path exists --columns

Parameters

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

Examples

Check if a file exists

> '/home/joe/todo.txt' | path exists

Check if a file exists in a column

> ls | path exists -c [ name ]