On 09/11/2014 04:09 PM, John Jason Jordan wrote:
> On Thu, 11 Sep 2014 14:08:31 -0700 (PDT)
> Rich Shepard <[email protected]> dijo:
>
> I finally got some results with:
>
>       find -maxdepth 5 -atime +10  -name \*.odt
>
> Putting the escape in front of the * is necessary unless you quote the
> pattern, but doing '*.odt' produced no results. The escape worked,
> however.
>
> But the problem is that the above command delivered every .odt file on
> my computer, which is many hundreds, if not thousands.

How about piping it to grep with the name of the file you're looking for?

   find -maxdepth 5 -atime +10  -name \*.odt | grep nameoffile.odt


-- 
Regards,

Dick Steffens

_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to