For those of you who enjoy the excitement of running dangerous commands:
Replace “.log” with the file extension you wish to remove
find . -type f -name "*.log" -exec rm -f {} \;755 - Owner has all permissions, and Group and Other can read and execute
700 - Owner has all permissions
644 - Owner can read and write, and Group and Other can read
600 - Owner can read and write
775 - Owner can read and write, and Group and Other can read
770 - Owner and Group have all, and Other can read and execute
750 - Owner has all permissions, and Group can read and execute
664 - Owner and Group can read and write, and Other can just read
660 - Owner and Group can read and write
640 - Owner can read and write, and Group can read