nushell/docs/commands/into_filesize.md
JT 8c0a2d3c15
Auto-generate markdown command docs (#4451)
* Finish updating

* a couple improvements

* Update renames

* cleanup examples
2022-02-13 21:22:51 -05:00

590 B

title layout version
into filesize command 0.59.0

Convert value to filesize

Signature

> into filesize ...rest

Parameters

  • ...rest: column paths to convert to filesize (for table input)

Examples

Convert string to filesize in table

> [[bytes]; ['5'] [3.2] [4] [2kb]] | into filesize bytes

Convert string to filesize

> '2' | into filesize

Convert decimal to filesize

> 8.3 | into filesize

Convert int to filesize

> 5 | into filesize

Convert file size to filesize

> 4KB | into filesize