1
0
mirror of https://github.com/nushell/nushell.git synced 2025-05-10 21:14:26 +02:00
nushell/docs/commands/path_exists.md

375 B

title layout version
path exists command 0.59.1

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 ]