2022-02-14 03:22:51 +01:00
|
|
|
---
|
|
|
|
title: path exists
|
|
|
|
layout: command
|
2022-03-04 13:10:09 +01:00
|
|
|
version: 0.59.1
|
2022-02-14 03:22:51 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
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 ]
|
|
|
|
```
|