I need to find all log files older than 5 days and that the filename MUST ends with .log AND any character (i.e. first.log20210701 but not first.log). I tried this command but it shows also ".log"
find . -type f -name '*.log*' -mtime +5
Could you help me please?