diff --git a/docs/commands/save.md b/docs/commands/save.md index 2ff76f5370..fe1ce66efa 100644 --- a/docs/commands/save.md +++ b/docs/commands/save.md @@ -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 -``` \ No newline at end of file +> 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. \ No newline at end of file