|
From: | Pádraig Brady |
Subject: | Re: Feature request: numfmt --from=K or k |
Date: | Tue, 26 Mar 2024 16:26:34 +0000 |
User-agent: | Mozilla Thunderbird |
On 26/03/2024 13:13, Tim Baverstock wrote:
Hi. I sometimes end up with a list of files whose sizes represent K instead of bytes. I recognise I can filter them to add the 'K' before passing them through numfmt, but if I could tell numfmt --from=K it would be more convenient. Thanks for your consideration.
This is already supported: $ numfmt --from-unit=K 1 1000 $ numfmt --from-unit=Ki 1 1024 cheers, Pádraig
[Prev in Thread] | Current Thread | [Next in Thread] |