Update #4455, Regenerate all commands' docs (#4557)

This commit is contained in:
Justin Ma
2022-02-20 09:13:33 +08:00
committed by GitHub
parent aea4355d04
commit 2ecae0ef43
48 changed files with 481 additions and 52 deletions

View File

@ -14,3 +14,25 @@ Filter values based on a condition.
- `cond`: condition
## Examples
List all files in the current directory with sizes greater than 2kb
```shell
> ls | where size > 2kb
```
List only the files in the current directory
```shell
> ls | where type == file
```
List all files with names that contain "Car"
```shell
> ls | where name =~ "Car"
```
List all files that were modified in the last two weeks
```shell
> ls | where modified <= 2wk
```