[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Suggested enhancement to du command - show last modified date.
From: |
William Brendling |
Subject: |
Re: Suggested enhancement to du command - show last modified date. |
Date: |
Thu, 9 Jun 2005 20:02:16 +0100 |
> Internally, file time stamps should be maintained to nanosecond
> resolution, not just 1-second resolution.
I am using the stat structure returned by the FTS routines. This does
not give nanosecond resolution, unless it is in the __unused1,
__unused2, and __unused3 members. How portable are these ? Or is my
RedHat 7.3 system just too out of date ?
Also I would not know what to do with the nanosecond resolution if I
kept it. The date formating routine I borrowed just accepts time_t
input.
> I suggest using the 'long-iso' time style as the default format, e.g.,
> "2004-10-02 15:30".
> There's no real need to put that ugly "T" in the output.
I agree that the "T" is ugly. However, I wanted a default format that
did not include any whitespace, so that all those utilities that split
fields on whitespace would regard the date & time as a single field.
My original, non-standards complying draft had a period "." to join
the date and the time.
> For consistency the time stamp format option should use the same
> option syntax as 'ls'. E.g.,
>
> du --last-time='modify' --time-style='+%Y-%m-%d'
OK. If / when I produce my next version I will adopt this.
- Suggested enhancement to du command - show last modified date., William Brendling, 2005/06/03
- Re: Suggested enhancement to du command - show last modified date., James Youngman, 2005/06/03
- Re: Suggested enhancement to du command - show last modified date., Jim Meyering, 2005/06/04
- Re: Suggested enhancement to du command - show last modified date., William Brendling, 2005/06/07
- Re: Suggested enhancement to du command - show last modified date., Jim Meyering, 2005/06/07
- Re: Suggested enhancement to du command - show last modified date., William Brendling, 2005/06/08
- Re: Suggested enhancement to du command - show last modified date., Paul Eggert, 2005/06/08
- Re: Suggested enhancement to du command - show last modified date.,
William Brendling <=
- Re: Suggested enhancement to du command - show last modified date., Paul Eggert, 2005/06/09
- Message not available
- Suggested enhancement to du command - show last modified date., William Brendling, 2005/06/23
- Re: Suggested enhancement to du command - show last modified date., Jim Meyering, 2005/06/23
- Re: Suggested enhancement to du command - show last modified date., Paul Eggert, 2005/06/23
Re: Suggested enhancement to du command - show last modified date., Frederik Eaton, 2005/06/24