The zsh rm command doesn't with too many (say, 100 000) files, execve() fails with: Argument list too long. This works and it is relatively fast (runs rm in big batches): find ... | xargs -d '\n' rm --
Perl is also helpful to pipe to for any tool that outputs lists of files, like
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.
You can do the same with:
zargs -- **/*(m+7) -- rm
I updated my answer above accordingly.
zsh's built-in globbing features can be used instead.
In most of the above examples "print -l" is used to print the results to the terminal, but you can instead use whatever command you want (as in the "rm" example above).Many more examples and tips can be seen here: [1]
[1] - http://www.zzapper.co.uk/zshtips.html