find . -mtime +30 -exec rm -v '{}' \; >logfile.txt [download]
updated: added quotes
In reply to Re: Deleting Files by Joost in thread Deleting Files by mantra2006