xargs
find . | grep 'your_filename_filter' | xargs rm -f find . -type f -name "*.txt" -print|xargs rm find . -type f -name "*.txt" -exec rm {} \; -print