On Wed, Jul 06, 2005 at 10:56:23PM +0200, Otto Moerbeek wrote:
> > find /home/kili -maxdepth 1 -type f -name \* -mtime +1 -exec echo {} \; |
> > grep ssh
> > 
> > yields no output at all. [And of course, I *do* have a .ssh directory.]
> 
> That's because you are not doing the same search.  Especially
> -maxdepth 1 will influence the results. 

Sure, but the OP mentioned that he also tried -maxdepth 1, but yet
had find(1) recurse into .ssh.

@Benny:
I hope you didn't put the `-maxdepth 1' *after* the `-exec rm {} \;'.

Ciao,
        Kili

Reply via email to