find /chemin/vers/repertoire -type f -regextype egrep -regex '.*localhost.2023.*.log' -exec rm {} \;