On 2023-10-20 15:18, Pádraig Brady wrote:
On 20/10/2023 00:22, Rusty Duplessis wrote:
Would be nice to have an option to append a / to the end of directory
names, so that you can distinguish between a file and directory when
using -a. Something like -F option to ls.
It's a good suggestion.
I generally only use du with single files / dirs,
or otherwise I use a wrapper that makes dirs obvious (though coloring):
http://www.pixelbeat.org/scripts/dutop
I.e. the default output from du -a is hard to parse.
How about making the output of du(1) colored the same way as it
currently is in ls(1)? I'd be willing to work on implementing that.