I know that is possible to use for loop with find command like that
for i in `find $something`; do (...) done
but I want to use find comma
Exit 0 is easy with find, exit >0 is harder because that usually only happens with an error. However we can make it happen:
if find -type f -exec false {} + then echo 'nothing found' else echo 'something found' fi