Find all files in the home directory, with a maximum depth of 1, that are of type file and have been modified more than 30 days ago, and delete them.
find $(echo $HOME/*) -maxdepth 1 -type f -mtime +30 -exec rm -f {} \;