mirror of
https://github.com/nushell/nushell
synced 2024-12-27 21:43:09 +00:00
404 B
404 B
title | layout | version |
---|---|---|
save | command | 0.59.1 |
Save a file.
Signature
> save (filename) --raw
Parameters
filename
: the filename to use--raw
: save file as raw binary
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