forked from extern/nushell
8c0a2d3c15
* Finish updating * a couple improvements * Update renames * cleanup examples
29 lines
376 B
Markdown
29 lines
376 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 ]
|
|
```
|
|
|