find

https://linux.die.net/man/1/find

-exec

$ find . -iname "*match*" -exec rm -r {} +
  • {} is replaced by all matches at once.
  • + is a terminator, but is also used to denote this style of interpolation.

$ find . -iname "*match*" -exec rm -r {} \;
  • {} is replaced by matches one at a time.
  • - is a terminator, but is also used to denote this style of interpolation.
Edit