for i in $(ls $1 | grep -v -E resumen_* ) do echo "res-new-ind.sh" $1/$i ">" $1"/resumen_"$i ./res-new-ind.sh $1/$i > $1/resumen_$i done