[PATCH] Support for thresholds in du(1)

k decado at gmail.com
Mon Apr 6 06:22:21 PDT 2009



Ed Schouten wrote:
> * Mel <fbsd.hackers at rachie.is-a-geek.net> wrote:
>> Example usage:
>> # du -xht 20m .
>>  29M    ./contrib/binutils
>>  52M    ./contrib/gcc
>> 237M    ./contrib
>>  35M    ./crypto
>>  28M    ./lib
>>  20M    ./share
>>  55M    ./sys/dev
>> 139M    ./sys
>> 545M    .
> 
> Ooh! That looks awesome!
> 

Would this option benefit from perhaps swinging both ways?
As in:
du -t +20m (show >20mb)
du -t -20m (show <20mb)

Or something along those lines


More information about the freebsd-hackers mailing list