A ver así: find -exec './xx {}' \; xx: #!/bin/sh if [ -f $1 ]; then ls ../intd/$1 echo -e "SI $1 \r" else echo -e "NO $1 \r" fi