On Thu, Sep 11, 2014 at 12:32 PM, John Jason Jordan <[email protected]> wrote: > The following command ought to work according to the man page: > > find -atime 10 /home/jjj/*.odt > > Can someone please help?
What I think Martin and Rich noticed, but didn't explicitly point out, is that by specifying /home/jjj/*.odt like that, you're telling find to _only_ search the paths /home/jjj/*.odt. If you have .odt files in your home directory, the shell expands that into just the ones at the top-level of your home (no sub-dirs); otherwise, it searches only the non-existent file literally named /home/jjj/*.odt. In order to let find do its thing, you specify the DIRECTORY you want it to search as the path, and then (as Martin and Rich mentioned), use -name 'PATTERN' (the quotes are absolutely essential) to find all files matching that pattern, no matter how deep. Hope that helps! -mjc _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
