mirror of
https://github.com/nushell/nushell
synced 2024-12-31 23:39:00 +00:00
c0a1d18e3d
* feat: update #4455, regenerate commands' docs * chore: update make_docs script
27 lines
375 B
Markdown
27 lines
375 B
Markdown
---
|
|
title: path exists
|
|
layout: command
|
|
version: 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
|
|
```shell
|
|
> '/home/joe/todo.txt' | path exists
|
|
```
|
|
|
|
Check if a file exists in a column
|
|
```shell
|
|
> ls | path exists -c [ name ]
|
|
```
|