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
Count the number of lines output and store it in a variable, then test it:
lines=$(find ... | wc -l) if [ $lines -eq 0 ]; then ... fi