On Wed, 2005-07-06 at 22:19 +0200, Matthias Kilian wrote: > find /home/kili -maxdepth 1 -type f -name \* -mtime +1 -exec echo {} \; | > grep ssh
This test is irrelevant to the OP's problem. > yields no output at all. [And of course, I *do* have a .ssh directory.] But do you have *files* (-type f) that have "ssh" in their name and don't start with a dot (-name \*)? If you drop both the "type -f" and "-name \*" predicates your .ssh directory will show up just fine. However, "-maxdepth 1" will keep find from recursing into that directory: $ touch .ssh/file $ find . -name file ./.ssh/file $ find . -maxdepth 1 -name file $ (OpenBSD 3.7 (GENERIC) #50: Sun Mar 20 00:01:57 MST 2005 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC) Cheers Steffen.