On Thu, 2014-09-11 at 16:09 -0700, John Jason Jordan wrote:
> On Thu, 11 Sep 2014 14:08:31 -0700 (PDT)
> Rich Shepard <rshep...@appl-ecosys.com> 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. If I change it
> to just 10 (which is what the man page says to do), instead of +10 then
> I get
> 
>       find: `./.cache/dconf': Permission denied
> 
> Whatever that means.

It means permission was denied. :)

It's usually a good idea to tell 'find' where to start looking, as
several people have noted in their examples.  The basic pattern for
'find' is

find WHERE_DO_I_START  WHAT_DO_I_LOOK_FOR  WHAT_DO_I_DO_WITH_IT

personally, I find -mtime to be generally more useful than the other
time specifiers.

-- 
David Fleck <david.fl...@mchsi.com>

_______________________________________________
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to