Re: Feature Request: du --dir-with-slash

2008-03-12 Thread Thomas Guettler
Jim Meyering schrieb: Pádraig Brady [EMAIL PROTECTED] wrote: Thomas Guettler wrote: 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

Re: Feature Request: du --dir-with-slash

2008-03-10 Thread Thomas Guettler
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

Re: Feature Request: du --dir-with-slash

2008-03-10 Thread Thomas Guettler
I'm very dubious about adding this as an option. Do you really think an option is warranted for this, considering you can already get the desired behavior with a small wrapper, as I demonstrated: The wrapper is awkward, but it's better than a new option. So probably best to do

Feature Request: du --dir-with-slash

2008-03-06 Thread Thomas Guettler
/ 291330280 /home new: 307704984 / 291330280 /home/ This way you can see if a line is a directory or not. This is even more important if you want to use the output for a script. I suggest 'du --dir-with-slash' or 'du --trailing-slash' as parameter. Thomas -- Thomas Guettler