Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jul 2011 07:25:31 -0400
From:      "b. f." <bf1783@googlemail.com>
To:        Gary Kline <kline@thought.org>, freebsd-questions@FreeBSD.org
Subject:   Re: how do i find a file in all directories 7 to 9 days old?
Message-ID:  <CAGFTUwOidDtM5qv8tQSTxrCUiV0=v_sBqNWNQmjmq%2Bv_Qg5AFg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
>  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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGFTUwOidDtM5qv8tQSTxrCUiV0=v_sBqNWNQmjmq%2Bv_Qg5AFg>