mirror of
https://github.com/nushell/nushell.git
synced 2024-12-02 13:24:30 +01:00
bff81f24aa
* Autogenerate missing docs * Update ansi.md * Rename question mark command docs * Delete empty?.md
27 lines
488 B
Markdown
27 lines
488 B
Markdown
# format filesize
|
|
Converts a column of filesizes to some specified format
|
|
|
|
## Usage
|
|
```shell
|
|
> format filesize <field> <format value> {flags}
|
|
```
|
|
|
|
## Parameters
|
|
* `<field>` the name of the column to update
|
|
<format value> the format into which convert the filesizes
|
|
|
|
## Flags
|
|
* -h, --help: Display this help message
|
|
|
|
## Examples
|
|
Convert the size row to KB
|
|
```shell
|
|
> ls | format filesize size KB
|
|
```
|
|
|
|
Convert the apparent row to B
|
|
```shell
|
|
> du | format filesize apparent B
|
|
```
|
|
|