Instantly share code, notes, and snippets.
Dry run:
find . -name '<pattern>' -print
Execute:
find . -name '<pattern>' -print -exec rm -rf {} \;