mirror of
https://github.com/danbulant/nushell
synced 2026-05-19 20:38:40 +00:00
* Update documents of commands * Change plugin names for register command examples * Remove unused docs [ci skip]
465 B
465 B
| title | layout | version |
|---|---|---|
| save | command | 0.59.1 |
Save a file.
Signature
> save (filename) --raw --append
Parameters
filename: the filename to use--raw: save file as raw binary--append: append input to the end of the file
Examples
Save a string to foo.txt in current directory
> echo 'save me' | save foo.txt
Save a record to foo.json in current directory
> echo { a: 1, b: 2 } | save foo.json