find . -type f -iname *file-suffix -exec rm -r {} \;
Example:
For a example if you want delete to all the files that have suffix .db (abc.db files) then just change the file suffix from the code and execute the command.
find . -type f -iname *.db -exec rm -r {} \;
Enjoy Code!