-exec in find is a test, so you can build custom tests. Judging by this answer I say one should be able to build a test, somewhat like in this other answer. I'm posting this as a comment, not an answer, because I haven't tested.
-exec in find is a test, so you can build custom tests. Judging by this answer I say one should be able to build a test, somewhat like in this other answer. I'm posting this as a comment, not an answer, because I haven't tested.