2022-02-14 03:22:51 +01:00
|
|
|
---
|
|
|
|
title: into filesize
|
|
|
|
layout: command
|
2022-03-04 13:10:09 +01:00
|
|
|
version: 0.59.1
|
2022-02-14 03:22:51 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
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
|
|
|
|
```shell
|
|
|
|
> [[bytes]; ['5'] [3.2] [4] [2kb]] | into filesize bytes
|
|
|
|
```
|
|
|
|
|
|
|
|
Convert string to filesize
|
|
|
|
```shell
|
|
|
|
> '2' | into filesize
|
|
|
|
```
|
|
|
|
|
|
|
|
Convert decimal to filesize
|
|
|
|
```shell
|
|
|
|
> 8.3 | into filesize
|
|
|
|
```
|
|
|
|
|
|
|
|
Convert int to filesize
|
|
|
|
```shell
|
|
|
|
> 5 | into filesize
|
|
|
|
```
|
|
|
|
|
|
|
|
Convert file size to filesize
|
|
|
|
```shell
|
|
|
|
> 4KB | into filesize
|
|
|
|
```
|