Re: find -atime

From: Gerhard Thimm (
Date: Fri Sep 01 2000 - 14:13:01 CEST schrieb:
> I thought that with "find / -atime 7" you get all the files that are modified
> within the last 7 days, but on mulinux I get a lot of old crap.
> Anyone familiar with this command?
> Dick Dijk

As I remember is find a little script. I'm not sure, but it just works
with the options -print -name -user.

I think the "crap" you get holds a "7" in each line. So -atime is
"converted" to -name.

OK, by careful in using -Xtime, unix knows
-ctime modification time of the inode
-atime access time (read/write)
-mtime modification time (write only)

Your "find / -atime 7" means file that are exactly accesses before 7
days !!

use -7 for within the last seven days.
use +7 for older than seven days.
but you need a real find for this, not just the script.


To unsubscribe, e-mail:
For additional commands, e-mail:

This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:15 CET