[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: |
Paul Eggert |
Subject: |
Re: Suggested enhancement to du command - show last modified date. |
Date: |
Wed, 08 Jun 2005 12:21:10 -0700 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux) |
Thanks for contributing! Some comments:
Internally, file time stamps should be maintained to nanosecond
resolution, not just 1-second resolution.
As far as the --last-modified option syntax goes, I suggest that
we use a syntax that is more like that of "touch --time". E.g.,
du --last-time='modify'
The default operand for --last-time would be 'modify' (or its alias
'mtime'), but the user could aso specify --last-time='access' (or its
alias 'atime' or 'use') or --last-time='change' (or its alias
'ctime').
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'
I suggest using the 'long-iso' time style as the default format, e.g.,
"2004-10-02 15:30". This would be the default for "ls" if it weren't
for POSIX requirements; but since we are inventing an extension to
"du" we can use 'long-iso'. There's no real need to put that ugly "T"
in the output.
William Brendling <address@hidden> writes:
> address@hidden last modified dates, displaying in @command{du}
> +Show the most recent last modified date of any of the files in the
That language is a bit hard to parse. How about if you change "last
modified date" to "time of last data modification"? That's what it
actually is. This might require some rewording I suppose.
- 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 <=
- Re: Suggested enhancement to du command - show last modified date., William Brendling, 2005/06/09
- 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