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