find should have a -limit option:
$ find -limit 50
would be like
$ find | sed 50q
but without hoping that the pipe will stop it. Which is even more
important with -exec...

Reply via email to