find /your/path -mtime numberofdays -exec rm -f {} \;