Re: Suggested enhancement to du command - show last modified date.

2005-06-24 Thread Frederik Eaton
This is nice. One reason I like it, which I think hasn't been mentioned yet, is that it gives a standard interface to a piece of information that might be used by make systems and other programs which need to find out when directory trees have been modified. Working through a standard interface

Re: Suggested enhancement to du command - show last modified date.

2005-06-23 Thread Jim Meyering
William Brendling [EMAIL PROTECTED] wrote: The second iteration of my patch to du to show last modified date follows. ... Thank you for the patch. I've applied it, albeit with some difficulty due to changes in leading white space and split lines caused no doubt by your mail client. I've made

Re: Suggested enhancement to du command - show last modified date.

2005-06-23 Thread Paul Eggert
Jim Meyering [EMAIL PROTECTED] writes: Thank you for the patch. I've applied it Yes, it's a nice thing to add. Thanks too. I reviewed the patch and have some more ideas, which I installed as follows. One more thing (which I didn't do yet) is that there's a reasonable amount of code

Re: Suggested enhancement to du command - show last modified date.

2005-06-08 Thread William Brendling
The following patch is my fist iteration at implementing my suggested --last-modified option for du. It is a simple port of my original draft code to the latest CVS source for du. Doesn't the standard ISO-8601 date format accomplish that, too? I have changed the default date format to be

Re: Suggested enhancement to du command - show last modified date.

2005-06-08 Thread Paul Eggert
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

Re: Suggested enhancement to du command - show last modified date.

2005-06-07 Thread Jim Meyering
William Brendling [EMAIL PROTECTED] wrote: ... Doesn't the standard ISO-8601 date format accomplish that, too? Quite likely. I will have to find out what the ISO-8601 format is. date already supports it: $ date --iso=s 2005-06-07T08:14:28+0200 ls does, too, via --time-style=STYLE. du's

Re: Suggested enhancement to du command - show last modified date.

2005-06-06 Thread William Brendling
First, get a copy of the latest sources from CVS by following the instructions here: Apply your changes there, then run e.g., and mail the contents of DIFF to the mailing list. OK. My current version is based upon the 5.2.1 release code. I will try and port it over to the CVS code. Doesn't

Suggested enhancement to du command - show last modified date.

2005-06-03 Thread William Brendling
I use the du command to identify directories for potential archiving. Candidate directories are those that are taking a lot of space, and which are not currently being worked on. The du command conveniently identified the first. To find out the latter requires walking the directory tree, and