Re: Listing lsat access times

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 19:10 13 Nov 2003, Bret Hughes <bhughes@xxxxxxxxxxxxx> wrote:
| On Thu, 2003-11-13 at 18:02, Cameron Simpson wrote:
| > On 22:45 13 Nov 2003, Mark Bradbury <mark.bradbury@xxxxxxxxxx> wrote:
| > | What I need is a report of the last access time of all files within a
| > | directory tree complete with full name and path. (management you
| > | know :))
| > 
| > find dir -type f -print | xargs ls --time=atime
| > 
| > The access time is a pretty useless number for most purposes.
| > --
| 
| yep and IIRC the find will only work once 'cause find will reset the
| atime.

Atime marks last-read (or last open-for-read). Stat doesn't affect it.
-- 
Cameron Simpson <cs@xxxxxxxxxx> DoD#743
http://www.cskk.ezoshosting.com/cs/

I die. Where they bury me the ground caves in. It swallows up the city and all
die. O the embarrassment.       - Joe Haldeman, _A !Tangled Web_


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux