You can use the following command:
find . -type f -name "FILE-TO-FIND" -exec rm -f {} \;
Options:
- -name "FILE-TO-FIND" : File pattern.
- -exec rm -rf {} \; : Delete all files matched by file pattern.
- -type f : Only match files and do not include directory names.