Hi, welcome to LQ!
And yes, the '*' is a plain old big fat mistake. It will add
any directory or file in the current working directory to finds
search list.
To exclude files/dirs that start with a '.' you want to do
Code:
find /home -type f -mtime +15 -not -name ".*" -exec rm {} \;
For a test run I'd recommend using an "echo" between the exec and the rm ;}
Cheers,
Tink