From 340e701124cfbefce74ac2b9f40a7d3205e0b09b Mon Sep 17 00:00:00 2001 From: Sebastian Jung Date: Sat, 30 Nov 2019 21:07:43 +0100 Subject: [PATCH] fix error in save.md --- docs/commands/save.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/commands/save.md b/docs/commands/save.md index 2ff76f537..fe1ce66ef 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