Re: du enhancement

2023-11-09 Thread Dragan Simic
On 2023-11-09 21:10, Michael Stone wrote: On Fri, Oct 20, 2023 at 04:47:59PM +0100, Pádraig Brady wrote: Yes coloring is a plausible addition to du, and would make sense to follow the same options, env vars as ls. I'd argue that the use of colors in coreutils shouldn't really expand

Re: du enhancement

2023-11-09 Thread Michael Stone
On Fri, Oct 20, 2023 at 04:47:59PM +0100, Pádraig Brady wrote: Yes coloring is a plausible addition to du, and would make sense to follow the same options, env vars as ls. I'd argue that the use of colors in coreutils shouldn't really expand unless/until there's a more robust & generic

Re: du enhancement

2023-10-20 Thread Dragan Simic
On 2023-10-20 17:47, Pádraig Brady wrote: On 20/10/2023 15:05, Dragan Simic wrote: On 2023-10-20 15:55, Arsen Arsenović wrote: Dragan Simic writes: 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

Re: du enhancement

2023-10-20 Thread Rusty Duplessis
: "Pádraig Brady" To: "Rusty Duplessis" ; Sent: Friday, October 20, 2023 6:18 AM Subject: Re: du enhancement 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 fil

Re: du enhancement

2023-10-20 Thread Pádraig Brady
On 20/10/2023 15:05, Dragan Simic wrote: On 2023-10-20 15:55, Arsen Arsenović wrote: Dragan Simic writes: 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

Re: du enhancement

2023-10-20 Thread Dragan Simic
On 2023-10-20 17:03, Arsen Arsenović wrote: Dragan Simic writes: On 2023-10-20 15:55, Arsen Arsenović wrote: Dragan Simic writes: 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

Re: du enhancement

2023-10-20 Thread Arsen Arsenović
Dragan Simic writes: > On 2023-10-20 15:55, Arsen Arsenović wrote: >> Dragan Simic writes: >> >>> 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

Re: du enhancement

2023-10-20 Thread Dragan Simic
On 2023-10-20 15:55, Arsen Arsenović wrote: Dragan Simic writes: 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

Re: du enhancement

2023-10-20 Thread Arsen Arsenović
Dragan Simic writes: > 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

Re: du enhancement

2023-10-20 Thread Dragan Simic
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.

Re: du enhancement

2023-10-20 Thread Pádraig Brady
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

Re: du enhancement

2023-10-20 Thread Dragan Simic
On 2023-10-20 10:45, Rob Landley wrote: On 10/19/23 23:10, Dragan Simic wrote: On 2023-10-20 05:56, Kaz Kylheku wrote: On 2023-10-19 20:42, Dragan Simic wrote: On 2023-10-20 01:22, Rusty Duplessis wrote: Would be nice to have an option to append a / to the end of directory names, so that you

Re: du enhancement

2023-10-20 Thread Rob Landley
On 10/19/23 23:10, Dragan Simic wrote: > On 2023-10-20 05:56, Kaz Kylheku wrote: >> On 2023-10-19 20:42, Dragan Simic wrote: >>> On 2023-10-20 01: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

Re: du enhancement

2023-10-19 Thread Dragan Simic
On 2023-10-20 05:56, Kaz Kylheku wrote: On 2023-10-19 20:42, Dragan Simic wrote: On 2023-10-20 01: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

Re: du enhancement

2023-10-19 Thread Kaz Kylheku
On 2023-10-19 20:42, Dragan Simic wrote: > On 2023-10-20 01: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. > > That's a very

Re: du enhancement

2023-10-19 Thread Dragan Simic
On 2023-10-20 01: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. That's a very good idea, I support it.

du enhancement

2023-10-19 Thread Rusty Duplessis
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.

Re: du enhancement request

2008-10-09 Thread Rafal Maszkowski
On Wed, Oct 08, 2008 at 08:20:09PM -0600, Eric Blake wrote: According to Rafal Maszkowski on 10/8/2008 3:16 PM: It happens to me that I need to count files in directories. du is a command which woud fit best to such task if it had an option count number of files instead of number of bytes.

du enhancement request

2008-10-08 Thread Rafal Maszkowski
It happens to me that I need to count files in directories. du is a command which woud fit best to such task if it had an option count number of files instead of number of bytes. It could be -i as in df -i. R. -- Jeżeli upadnie cywilizacja zachodnia, to będzie szansa na odbudowę cywilizacji

Re: du enhancement request

2008-10-08 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Rafal Maszkowski on 10/8/2008 3:16 PM: It happens to me that I need to count files in directories. du is a command which woud fit best to such task if it had an option count number of files instead of number of bytes. It could be -i as