path exists

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 ]