delete all .log files you can replace your target directory instead “.” (dot) after “find” on the line , otherwise its use current directory to find and delete