Thanks for replying.
I agree that find should not modify the filesystem, unless ...
And indeed, my intent was to implement the extra functionality, and
could not do this in C, because I am not too familiar with C and find as
it is now does not permit to do it otherwise, without creating temporary
It's an interesting concept, but find should not itself modify the
filesystem unless the user has explicitly requested this (e.g. via
-delete, -exec etc.). Your script also leaks the two temporary files.
I recall that http://savannah.gnu.org/ also has a similar feature
request for findutils. Per