coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Command-line program to convert 'human' sizes?


From: Pádraig Brady
Subject: Re: Command-line program to convert 'human' sizes?
Date: Tue, 04 Dec 2012 16:30:41 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1

On 12/04/2012 04:25 PM, Assaf Gordon wrote:
Hello,

Is there a command-line program (or a recommended way) to expose the coreutil's 
common functionality of converting raw sizes to 'human' sizes and vice versa ?

I'm referring to the "-h" parameter that du/df/sort are accepting, and reporting "human" sizes, but 
also the reverse (where sort's "-G" accepts "40M" as valid input).

I found two relevant threads, but no resolution:
http://lists.gnu.org/archive/html/coreutils/2011-08/msg00035.html
http://lists.gnu.org/archive/html/coreutils/2012-02/msg00088.html

Nothing yet. The plan is to make a numfmt command available with this interface:
http://lists.gnu.org/archive/html/coreutils/2012-02/msg00085.html

cheers,
Pádraig.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]