[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Feature Request: du --dir-with-slash
From: |
Pádraig Brady |
Subject: |
Re: Feature Request: du --dir-with-slash |
Date: |
Mon, 10 Mar 2008 09:38:48 +0000 |
User-agent: |
Thunderbird 2.0.0.6 (X11/20071008) |
Thomas Guettler wrote:
> Pádraig Brady schrieb:
>> Thomas Guettler wrote:
>>
>>> Hi,
>>>
>>> I use "du -ax / | sort -rn > /var/tmp/du-`date --iso`" to get the sorted
>>> total size of all
>>> files and directories.
>>>
>>> Unfortunately you can't see a difference between a directory and a file
>>> in the output. It would be nice if the directories would be added by a
>>> slash.
>>>
> Thank you for being interested. I wrote a patch which makes the slash
> optional:
>
> src/du --help:
> ...
> -z, --dir-with-slash append a slash to directories.
I don't think it's worth an option TBH.
How about we do this iff POSIXLY_CORRECT environment variable is not set?
Pádraig.
- Feature Request: du --dir-with-slash, Thomas Guettler, 2008/03/06
- Re: Feature Request: du --dir-with-slash, Jim Meyering, 2008/03/06
- Re: Feature Request: du --dir-with-slash, Pádraig Brady, 2008/03/06
- Re: Feature Request: du --dir-with-slash, Pádraig Brady, 2008/03/07
- Re: Feature Request: du --dir-with-slash, Thomas Guettler, 2008/03/10
- Re: Feature Request: du --dir-with-slash,
Pádraig Brady <=
- Re: Feature Request: du --dir-with-slash, Jim Meyering, 2008/03/10
- Re: Feature Request: du --dir-with-slash, Pádraig Brady, 2008/03/10
- Re: Feature Request: du --dir-with-slash, Thomas Guettler, 2008/03/10
- Re: Feature Request: du --dir-with-slash, Pádraig Brady, 2008/03/10
- Re: Feature Request: du --dir-with-slash, Pádraig Brady, 2008/03/10
- Re: Feature Request: du --dir-with-slash, Jim Meyering, 2008/03/10
- Re: Feature Request: du --dir-with-slash, Thomas Guettler, 2008/03/12