how do i find a file in all directories 7 to 9 days old?

b. f. bf1783 at googlemail.com
Thu Jul 28 11:25:32 UTC 2011


>  how can i use find or whatever to find a file, say 6 levels deep
>  that is <= 9 days old?   i'm looking fo something i had to jt down
>  [[ASCII]].  can't remembr te file name, nor when i was when i had
>  the idea flash into my mind....

Try something like:

find / -type f -mtime -10d -mindepth 5 -maxdepth 7

See find(1) for variations.

b.


More information about the freebsd-questions mailing list