home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.shell
- Path: sparky!uunet!peora!tarpit!tous!bilver!bill
- From: bill@bilver.uucp (Bill Vermillion)
- Subject: Re: Last modification time for a directory -- How?
- Organization: W. J. Vermillion - Winter Park, FL
- Date: Mon, 23 Nov 1992 14:59:57 GMT
- Message-ID: <1992Nov23.145957.4192@bilver.uucp>
- References: <1epmvvINN1b1@agate.berkeley.edu>
- Lines: 23
-
- In article <1epmvvINN1b1@agate.berkeley.edu> ilan343@violet.berkeley.edu (Geraldo Veiga) writes:
- >A question:
-
- >How do I find the last modification time for a directory, meaning what
- >was the last modification time for any file under the directory.
-
- The time any file was modified is NOT part of the directory,
- and the directory was not modifed. The only place you will
- find any modifications (other than the file itself) are in the
- inodes of the associated files. Unless you rename the file or
- mv it, there will be no indication in the directory.
-
- You will have to search for last modification time of the
- individual files, find the latest, and then check what
- directory they are in.
-
-
-
- --
- Bill Vermillion - bill@bilver.oau.org bill.vermillion@oau.org
- - bill@bilver.uucp
- - ..!{peora|tous|tarpit}!bilver!bill
-
-