/home/karl/

Dotan Cohen dotancohen at gmail.com
Wed May 12 07:36:22 UTC 2010


On 12 May 2010 10:15, Ruben Laban <r.laban at ism.nl> wrote:
> On Wednesday 12 May 2010 at 09:00 (CET), Dotan Cohen wrote:
>> On 12 May 2010 01:46, Rei Shinozuka <shino at panix.com> wrote:
>> > when i used to have quotas, i used to run this in $HOME :
>> >
>> > du -s .[A-Za-z0-9]* * | sort -nr | head
>>
>> Although the regex is nice for removing . and .. it will fail for
>> directories in non-latin alphabets. I have lots of those! But why is
>> that even necessary, why not simply "du -s *"? What trick am I
>> missing?
>
> du -s * doesn't "catch" hidden directories (starting with a dot). Which is why
> I tend to use: du -s .??* * (or actually du -sch .??* * usually).
>

Thanks, Ruben!



-- 
Dotan Cohen

http://bido.com
http://what-is-what.com




More information about the ubuntu-users mailing list