fix error in save.md

This commit is contained in:
Sebastian Jung 2019-11-30 21:07:43 +01:00
parent e38a4323b4
commit 9bd25d7427

View file

@ -18,11 +18,13 @@ Syntax: `save (path) {flags}`
You can save the name of files in a directory like this:
```shell
> ls | where type == File | pick name | save
> ls | where type == File | pick name | save filenames.csv
```
Or you can format it in supported formats using one of the `to-*` commands:
```shell
> ls | where type == File | pick name | to-csv | save
> ls | where type == File | pick name | to-csv | save filenames
```
`filename.csv` and `filenames` are both `csv` formatted files. Nu auto-converts the format if a supported file extension is given.