by ptspts · 4y ago · 0 comments
find . -type f -name '*foo' | perl -ne 'print;chomp;unlink'
And it has the same -0 switch as xargs to pair with find's -print0.Not helpful in this case since you have other options, but maybe helpful for things like bulk touch, chmod, etc.
zargs -- **/*(m+7) -- rm
I updated my answer above accordingly.