How to rm files recursively?
find . -name '*attach*' | xargs rm
To be even MORE accurate
find . -name '*attach*' -print0 | xargs -0 rm
Will make sure you process any pesky files with spaces in their names
Open Source Content Management find . -name '*attach*' | xargs rm
To be even MORE accurate
find . -name '*attach*' -print0 | xargs -0 rm
Will make sure you process any pesky files with spaces in their names