GNU bug report logs - #27488
du -tX -t-Y won't exclude or select an interval of SIZE

Previous Next

Package: coreutils;

Reported by: f0rhum <f0rhum <at> free.fr>

Date: Sun, 25 Jun 2017 18:10:02 UTC

Severity: wishlist

Tags: wontfix

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 27488 in the body.
You can then email your comments to 27488 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#27488; Package coreutils. (Sun, 25 Jun 2017 18:10:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to f0rhum <f0rhum <at> free.fr>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Sun, 25 Jun 2017 18:10:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: f0rhum <f0rhum <at> free.fr>
To: bug-coreutils <at> gnu.org
Subject: du -tX -t-Y won't exclude or select an interval of SIZE
Date: Sun, 25 Jun 2017 20:08:54 +0200
I know man clearly states "exclude entries smaller  than  SIZE  if 
positive,  or entries greater than..."
I don't know if it is a restriction in my 8.21, but only the last -t
option in my command line applies.
If not, maybe a feature could allow this like du -t3G-5G or -t3G -t-5G
could show dirs from 3 to 5G
and -t-3G5G or -t5G -t-3G would show all others.
Okay, I guess this would be an opened door for guys requesting more than
one intervall ;)




Information forwarded to bug-coreutils <at> gnu.org:
bug#27488; Package coreutils. (Mon, 26 Jun 2017 07:01:01 GMT) Full text and rfc822 format available.

Message #8 received at 27488 <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: f0rhum <f0rhum <at> free.fr>, 27488 <at> debbugs.gnu.org
Subject: Re: bug#27488: du -tX -t-Y won't exclude or select an interval of SIZE
Date: Mon, 26 Jun 2017 00:00:11 -0700
On 25/06/17 11:08, f0rhum wrote:
> I know man clearly states "exclude entries smaller  than  SIZE  if 
> positive,  or entries greater than..."
> I don't know if it is a restriction in my 8.21, but only the last -t
> option in my command line applies.
> If not, maybe a feature could allow this like du -t3G-5G or -t3G -t-5G
> could show dirs from 3 to 5G
> and -t-3G5G or -t5G -t-3G would show all others.
> Okay, I guess this would be an opened door for guys requesting more than
> one intervall ;)

Maybe, though it would complicate things,
and make it incompat with older -t implementations.
I'm not sure there is enough need for this?

cheers,
Pádraig





Information forwarded to bug-coreutils <at> gnu.org:
bug#27488; Package coreutils. (Mon, 26 Jun 2017 07:38:01 GMT) Full text and rfc822 format available.

Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):

From: f0rhum <f0rhum <at> free.fr>
To: bug-coreutils <at> gnu.org
Subject: Re: bug#27488: du -tX -t-Y won't exclude or select an interval of SIZE
Date: Mon, 26 Jun 2017 09:37:21 +0200
On 26/06/2017 at 09:00, Pádraig Brady wrote :
> On 25/06/17 11:08, f0rhum wrote:
>> I know man clearly states "exclude entries smaller  than  SIZE  if 
>> positive,  or entries greater than..."
>> I don't know if it is a restriction in my 8.21, but only the last -t
>> option in my command line applies.
>> If not, maybe a feature could allow this like du -t3G-5G or -t3G -t-5G
>> could show dirs from 3 to 5G
>> and -t-3G5G or -t5G -t-3G would show all others.
>> Okay, I guess this would be an opened door for guys requesting more than
>> one intervall ;)
> Maybe, though it would complicate things,
> and make it incompat with older -t implementations.
> I'm not sure there is enough need for this?
>
> cheers,
> Pádraig
>
>
>
>
Incompat with elder implementations could be strictly preserved when
using a single -t. Man neither info coreutils state only the last -t is
taken into account.
Okay don't worry, I'll have to find how to script this, as I also need
to exclude directories that contain a 0 byte flag file.
Good week Pádraig and collegues, and thanks for your great work.

Fabrice




Information forwarded to bug-coreutils <at> gnu.org:
bug#27488; Package coreutils. (Mon, 29 Oct 2018 03:27:01 GMT) Full text and rfc822 format available.

Message #14 received at 27488 <at> debbugs.gnu.org (full text, mbox):

From: Assaf Gordon <assafgordon <at> gmail.com>
To: 27488 <at> debbugs.gnu.org
Subject: Re: bug#27488: du -tX -t-Y won't exclude or select an interval of SIZE
Date: Sun, 28 Oct 2018 21:26:00 -0600
severity 27488 wishlist
tags 27488 wontfix
close 27488
stop

(triaging old bugs)

On 2017-06-26 1:37 a.m., f0rhum wrote:
> On 26/06/2017 at 09:00, Pádraig Brady wrote :
>> On 25/06/17 11:08, f0rhum wrote:
>>> If not, maybe a feature could allow this like du -t3G-5G or -t3G -t-5G
>>> could show dirs from 3 to 5G
>>> and -t-3G5G or -t5G -t-3G would show all others.
>>> Okay, I guess this would be an opened door for guys requesting more than
>>> one intervall ;)

>> Maybe, though it would complicate things,
>> and make it incompat with older -t implementations.
>> I'm not sure there is enough need for this?
>>
[...]
> Okay don't worry, I'll have to find how to script this, as I also need
> to exclude directories that contain a 0 byte flag file.

With no further comments in more than a year,
I'm closing this bug.

-assaf





Severity set to 'wishlist' from 'normal' Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Mon, 29 Oct 2018 03:27:02 GMT) Full text and rfc822 format available.

Added tag(s) wontfix. Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Mon, 29 Oct 2018 03:27:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 27488 <at> debbugs.gnu.org and f0rhum <f0rhum <at> free.fr> Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Mon, 29 Oct 2018 03:27:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 26 Nov 2018 12:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 152 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.