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.

Full log


View this message in rfc822 format

From: f0rhum <f0rhum <at> free.fr>
To: 27488 <at> debbugs.gnu.org
Subject: 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




This bug report was last modified 6 years and 212 days ago.

Previous Next


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